I think bash and other shells don't like quotes in the middle of an argument, so you need to quote twice, this should work:
-s 'EMTERPRETIFY_FILE="waka"' so single-quotes for the entire argument, and double quotes for the string waka itself (could be the reverse too). I'll add a note to the docs. On Wed, Sep 30, 2015 at 10:26 AM, Manuel Quinteros <[email protected]> wrote: > Hello everybody, > > I've been playing around with emscripten for a couple of days and there is > a lot of things that I do not understand. > Now my question is probably something stupid but I can't figure out how to > make this work. > When I call emcc I'm getting this warning: > warning: emterpreter bytecode is fairly large, 1.03 MB. It is recommended > to use -s EMTERPRETIFY_FILE=.. so that it is saved as a binary file, > instead of the default behavior which is to embed it as text (as text, it > can cause very slow compile and startup times) > > then when I add -s EMTERPRETIFY_FILE=somefile it fails > when I add -s EMTERPRETIFY_FILE=1 it fails > when I add -s EMTERPRETIFY_FILE="something" it fails > when I add -s EMTERPRETIFY_FILE=["something"] it fails > > what I'm doing wrong I just can't figure it out. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
