The emscripten compiler <http://emscripten.org/> creates a JavaScript
translation from C or other LLVM-able code, using the asm.js subset of
JavaScript as a formal target.

The host triple defined by the compiler is 'asmjs-unknown-emscripten', but
currently many autoconf-based programs don't allow cross-compilation with
this triple as config.sub doesn't recognize it, so workarounds are used to
fake out the compiler for the configure scripts... (See mailing list thread
<https://groups.google.com/forum/#!topic/emscripten-discuss/zLMDkPUmZIQ>
for example.)

Adding it to the canonical config.sub should help with proper JavaScript
cross-compilation of various GNU and other libraries that use autoconf.

Please let me know if this is the right way to go about it. Thanks!

-- brion vibber (brion @ pobox.com / bvibber @ wikimedia.org)

Attachment: 0001-Accept-asmjs-unknown-emscripten-triple.patch
Description: Binary data

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to