... | ... | @@ -97,7 +97,13 @@ cc = /nix/store/p894nlicv53firllwgrfxfi51jzckh5l-emscripten-3.1.15/b |
|
|
...
|
|
|
```
|
|
|
|
|
|
Notice that each of the binaries very obviously point to the `emscripten` wrapped versions. We're now ready to start building.
|
|
|
Notice that each of the binaries very obviously point to the `emscripten` wrapped versions. If they aren't then it means `emconfigure` isn't setting the environment variables correctly for some reason (cf #22814). You can try setting them explicitly as follows:
|
|
|
|
|
|
```bash
|
|
|
./configure CC=$(which emcc) LD=$(which emcc) --target=js-unknown-ghcjs
|
|
|
```
|
|
|
|
|
|
We're now ready to start building.
|
|
|
|
|
|
### Build the compiler
|
|
|
Build using Hadrian, no surprises here. Most of the existing flavours have been modified to be JS aware:
|
... | ... | |