Hi, I am very new to compiling, just trying to play with some C code ( very new to C also ) and compiling it to wasm. I have been pretty successful so far :
I have managed to compile some C code with : emcc main.c -s WASM=1 --separate-asm -o build/aaa.html My issue is : when executing aaa.js with Node, it only works if I cd into the build/ directory, and I have the same issue when I try to include this into a web project. I don't if the issue is with emcc , javascript or nodejs... To make it short, I'm a little lost ... node build/aaa.js //returs an error cd build node aaa.js //works fine -- 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.
