You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -322,7 +332,7 @@ generate it in [gimple.md](./doc/gimple.md).
322
332
#### Configuring rustc_codegen_gcc
323
333
324
334
* Run `./y.sh prepare --cross` so that the sysroot is patched for the cross-compiling case.
325
-
* Set the path to the cross-compiling libgccjit in `gcc_path`.
335
+
* Set the path to the cross-compiling libgccjit in `gcc-path` (in `config.toml`).
326
336
* Make sure you have the linker for your target (for instance `m68k-unknown-linux-gnu-gcc`) in your `$PATH`. Currently, the linker name is hardcoded as being `$TARGET-gcc`. Specify the target when building the sysroot: `./y.sh build --target-triple m68k-unknown-linux-gnu`.
327
337
* Build your project by specifying the target: `OVERWRITE_TARGET_TRIPLE=m68k-unknown-linux-gnu ../y.sh cargo build --target m68k-unknown-linux-gnu`.
328
338
@@ -338,4 +348,4 @@ If you get the following error:
338
348
/usr/bin/ld: unrecognised emulation mode: m68kelf
339
349
```
340
350
341
-
Make sure you set `gcc_path` to the install directory.
351
+
Make sure you set `gcc-path` (in `config.toml`) to the install directory.
0 commit comments