I am trying to use emscripten for which i need the webassembly toolkit something like binaryen however I chose to use wabt. I installed it using brew install wabt from which i get commands like wasm-objdump but wasm-ld is just nowehere to be found. And yes I have installed llvm.
wasm-ld is installed as part of the lld linker packages (e.g. lld-10 on ubuntu). Check to see if you have that package installed. If not, install that, and the wasm-ld binary may appear in /usr/bin.
If you have that installed, there are two possibilities: 1.) The directory containing the binary is not part of your path: check /usr/lib/llvm-10/bin to see if the binary is in there (if llvm-10 is the version you have installed). 2.) The binary is in /usr/bin, but has the version number attached to its name (e.g. wasm-ld-10).
In either case, a temporary solution is to create a symbolic link to the binary in /usr/bin using "ln wasm-ld"
wasm-ld is part of the llvm project. It is installed with llvm 8.0 and above by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With