em-shell
em-shell copied to clipboard
emgcc -> emcc link
How do I create a emgcc link? I tried ln -s $(which emcc) emgcc in busybox directory, but busybox build process can't discover it.
Also,
cd em-busybox
ln -s $(which emcc) emgcc
./emgcc
# /usr/bin/python3: can't open file './emgcc.py': [Errno 2] No such file or directory
Solved it by using a wrapper script called emgcc like this:
#!/bin/bash
exec emcc "$@"