See "Build System Self-Execution" in https://github.com/kripken/emscripten/wiki/Building-Projects , you will need to build natively first, then copy in the native versions.
- Alon On Mon, Jun 16, 2014 at 11:15 PM, <[email protected]> wrote: > I'm trying to use Emscripten to cross-compile the LLVM linker > <http://lld.llvm.org/> to Javascript. However, make tries to compile a > utility called "llvm-tblgen" and run it as part of the build process. > Since emcc generates LLVM bitcode that can't directly be executed by the > system, this fails. > > I'm not very familiar with CMake, so I'm not sure how to proceed. How can > I get lld to compile under Emscripten? > > > Carter > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
