README.adoc
October 22, 2023 ยท View on GitHub
= Cross libgccjit compilers for use with rustc_codegen_gcc
== Dependencies
This requires the git version of https://github.com/crosstool-ng/crosstool-ng[crosstool-ng], at least if you want to build for m68k, since it's not released in the 1.26.0 version.
== Build instructions
- Install
crosstool-ng. - Move to the directory containing the
crosstool-ngconfig of your choice:cd m68k-unknown-linux-gnu - Generate the config from the default config:
ct-ng defconfig. This will generate a.configfile used in the next step. - Build the compiler:
ct-ng build. - The compiler will be in
$HOME/x-tools/m68k-unknown-linux-gnu/bin.