[Gc] Compiling bdwgc via emscripten
Colin Gordon <[email protected]> Tue, 14 Oct 2014 18:27:26 +0000
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <D05DC191.1F3F%[email protected]> |
Hi, I’ve been trying to compile bdwgc with the Emscripten support recently upstreamed from Unity. But I cannot figure out how to produce a working build. From glancing at the relevant changes on github, and following Emscripten’s build integration instructions, I’ve tried essentially using: emconfigure ./configure —prefix=.../gcout/ --without-threads --disable-threads __EMSCRIPTEN__=1 EMSCRIPTEN=1 I’ve tried with and without explicitly setting CC, CXX, etc. This produces a shared library file containing LLVM bit code, which when disassembled appears to contain the relevant GC symbols and the expected target triple “asmjs-unknown-emscripten.” But linking against this result fails with emscripten searching for intermediate JavaScript files that do not exist. “make check” (and “emmake make check”) fail all tests. Are there any docs on the emscripten support? I haven’t been able to locate any. Can anyone suggest what I might be missing or doing incorrectly? If relevant, I’m using the Emscripten portable SDK on Mac OS X. Thanks, Colin _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc