diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2022-06-10 08:02:24 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2022-06-10 08:02:24 -0400 |
| commit | 8ac2af17cafa34cef317b20fa075e15e84bc96e1 (patch) | |
| tree | 615d6d2daf2879a6538391f3809333b203e29a62 | |
| parent | e48c92e3913546f763e9c84084444c944aefc71c (diff) | |
| download | rust-8ac2af17cafa34cef317b20fa075e15e84bc96e1.tar.gz rust-8ac2af17cafa34cef317b20fa075e15e84bc96e1.zip | |
Update cross-compiling instructions
| -rw-r--r-- | Readme.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Readme.md b/Readme.md index 5bbd29fceba..aa3626db4ef 100644 --- a/Readme.md +++ b/Readme.md @@ -146,6 +146,5 @@ To get the `rustc` command to run in `gdb`, add the `--verbose` flag to `cargo b * 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](https://book.avr-rust.com/005.1-the-target-specification-json-file.html) (note that the `arch` 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`. - * Disable the 128-bit integer types if the target doesn't support them by using `let i128_type = context.new_type::<i64>();` in `context.rs` (same for u128_type). * 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?). |
