I'm trying to port a c++ project to the web using Emscripten. For that purpose, I need to build libraries into llvm bytecode (.bc). I found this thread that may have helped, unfortunately it didn't work for me. I run into hundreds of errors. Here is a sample:
erasme:~/Sources/boost$ ./b2
ERROR root: no input files
...
libs/context/src/unsupported.cpp:7:2: error: "platform not supported"
#error "platform not supported"
^
1 error generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
Has anyone built boost with emscripten? How?
Thank you for your answers. Erasme.