Created
March 11, 2015 09:47
-
-
Save passcod/4b382bc836456b77249b to your computer and use it in GitHub Desktop.
Emscripten build process for jq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emconfigure ./configure --disable-maintainer-mode | |
make clean | |
env CCFLAGS=-O2 emmake make LDFLAGS=-all-static CCFLAGS=-O2 -j4 | |
cp jq jq.o | |
emcc -O2 jq.o -o jq.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I finally got it working. For all begginers like me, the above instructions do work, but here's what I did exactly:
master.zip
(the full repository) of oniguruma and jq from GitHub.autoreconf -i
,emconfigure ./configure
andemmake make
autoreconf -i
@rossillingworth