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
Copy file name to clipboardexpand all lines: compiler/rustc_codegen_gcc/doc/tips.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ generate it in [gimple.md](./doc/gimple.md).
61
61
#### Configuring rustc_codegen_gcc
62
62
63
63
* Run `./y.sh prepare --cross` so that the sysroot is patched for the cross-compiling case.
64
-
* Set the path to the cross-compiling libgccjit in `gcc-path` (in `config.toml`).
64
+
* Set the path to the cross-compiling libgccjit in `gcc-path` (in `bootstrap.toml`).
65
65
* 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 --sysroot --target-triple m68k-unknown-linux-gnu`.
66
66
* Build your project by specifying the target: `OVERWRITE_TARGET_TRIPLE=m68k-unknown-linux-gnu ../y.sh cargo build --target m68k-unknown-linux-gnu`.
67
67
@@ -77,4 +77,4 @@ If you get the following error:
77
77
/usr/bin/ld: unrecognised emulation mode: m68kelf
78
78
```
79
79
80
-
Make sure you set `gcc-path` (in `config.toml`) to the install directory.
80
+
Make sure you set `gcc-path` (in `bootstrap.toml`) to the install directory.
0 commit comments