Closed
Description
Configuring rustc_codegen_gcc
- Set
TARGET_TRIPLE="m68k-unknown-linux-gnu"
in config.sh.- Since rustc doesn't support this architecture yet, set it back to
TARGET_TRIPLE="mips-unknown-linux-gnu"
(or another target having the same attributes). Alternatively, create a target specification file (note that thearch
specified in this file must be supported by the rust compiler).- Set
linker='-Clinker=m68k-linux-gcc'
.- Set the path to the cross-compiling libgccjit in
gcc_path
.- Comment the line:
context.add_command_line_option("-masm=intel");
in src/base.rs.- (might not be necessary) Disable the compilation of libstd.so (and possibly libcore.so?).
I want to compile this for SuperH but I'm confused by these instructions. It says to change a setting in config.sh but then immediately change it to something else without running anything in between??? How is that different from just setting it to the second thing directly? Is there a step missing somewhere? Also when it says "having the same attributes" what does it mean? Which attributes?
Metadata
Metadata
Assignees
Labels
No labels