Building Boost with emscripten
Someone (sorry, I don't remember who) suggested WebAssembly as a way to easily let people use my software. Ok, let's try building Bertini_real, my algebraic curve and surface decomposer, into Web Assembly (WA). I am using a Mac at OS 10.13.
The first step for me is to install the tools to build for WA. The compiler is called
emscripten, and it was downloaded and installed easily.
Next, we build Boost. First, of course, download the source code from the usual place: boost.org/users/download/. I used 1.67 and 1.68.b1 so far.
Bootstrap, to put together the build system.
The next part, the actual compilation, doesn't go so well for me, despite people saying it should.
./b2 toolset=emscripten cxxflags=-std=c++14
It dies, giving a long error, most of which is not relevant: