I'd like to invoke emcc/em++ (Emscripten) instead of GCC during native compilation. I cannot figure out how to do that.
One possible solution should be to have an argument forwarding script named gcc and prepend PATH with it. This would call emcc. What would be a cleaner solution?
Note Emscripten wouldn't support symlinking gcc to emcc, I don't think
I'd like to invoke emcc/em++ (Emscripten) instead of GCC during
native
compilation. I cannot figure out how to do that.One possible solution should be to have an argument forwarding script named
gcc
and prepend PATH with it. This would callemcc
. What would be a cleaner solution?Note Emscripten wouldn't support symlinking gcc to emcc, I don't think