Hi. You can replace it with -s WASM=0. That means to produce asm.js as output, if you set -s WASM=1 then output will be wasm.
пт, 5 июл. 2019 г. в 08:57, juef <[email protected]>: > > Greetings, > > I am trying to compile an old project from GitHub which uses emscripten, and > the makefile calls emcc with a -s USE_ASM=1 flag. I am then presented with > the following when trying the workers part of the makefile: > > WARNING root: Assigning a non-existent settings attribute "USE_ASM" > WARNING root: - did you mean one of USE_BSS, USE_FHEAP? > WARNING root: - perhaps a typo in emcc's -s X=Y notation? > WARNING root: - (see src/settings.js for valid values) > > I have looked for such a setting in emscripten's current and old versions, > including in src/settings.js of course, but with no success. Additionally, > make fails with this: > > Traceback (most recent call last): > File "/usr/bin/emcc", line 1274, in <module> > exec('shared.Settings.' + key + ' = ' + value) > File "<string>", line 1, in <module> > NameError: name '_malloc' is not defined > Makefile:10: recipe for target 'workers' failed > make: *** [workers] Error 1 > > I would be forever grateful to anyone helping me compile this project. I only > wish to compile it again so I can use a -O3 optimization... > > Thank you very much for reading! > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/f63a4fe2-155e-497f-8508-0c43a2fc2c42%40googlegroups.com. > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVF%3DnBZ-Q7he8XkWM5-c59AvapZFemv1Jx8Ef5_Bo2sKeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
