config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding asmjs-unknown-emscripten to config.sub


From: Brion Vibber
Subject: Adding asmjs-unknown-emscripten to config.sub
Date: Tue, 24 Feb 2015 20:15:01 -0800

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]