diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-01 11:31:15 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:04 -0700 |
commit | 461478fbb7199a6a557b754271a9d7e69172765f (patch) | |
tree | 8d41a98331b06579190c1cbf5cf7fa5c175f9888 /emlink.py | |
parent | 5b27fcf2088abd85fbca78f9067806227772dbba (diff) |
testing for using libc in a side module, and forcing inclusion of libc making it work
Diffstat (limited to 'emlink.py')
-rw-r--r-- | emlink.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,7 +28,9 @@ Limitations: EMCC_FORCE_STDLIBS=1 emcc .. - which will link in all the C libraries. + which will link in all the libraries (you can also do EMCC_FORCE_STDLIBS=libc for example to + include just libc and its dependencies; run with EMCC_DEBUG=1 to see which are necessary and + include the first one). Overall, this linking approach should be fast to perform, but generate less-optimal results than to link all the bitcode together and build to JS as a single project. Final builds should be |