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
As of #2822 "Start reusing rustc's format_args parser", we invoke cargo to produce object files to be linked into GCC. I've not yet run into the following -- but I suspect that cargo by default builds for the system it's currently running on: the GCC build system. However, these object files are to be linked into the compiler we're building, the GCC host system.
…ations
..., until <Rust-GCC/gccrs#2898>
"'cargo' should build for the host system" is resolved.
Follow-up to commit 3e1e73f
"build: Check for cargo when building rust language".
* configure.ac (have_cargo): Force to "no" in Canadian cross
configurations
* configure: Regenerate.
As of #2822 "Start reusing rustc's format_args parser", we invoke
cargo
to produce object files to be linked into GCC. I've not yet run into the following -- but I suspect thatcargo
by default builds for the system it's currently running on: the GCC build system. However, these object files are to be linked into the compiler we're building, the GCC host system.Therefore, I suspect, we should pass:
In the
Makefile
, we do have the GCC host system available in$(host)
(or is$(host_noncanonical)
applicable here?) -- but how to programmatically translate that into the corresponding Rust target triple, https://doc.rust-lang.org/cargo/appendix/glossary.html#target, https://doc.rust-lang.org/nightly/rustc/platform-support.html?The text was updated successfully, but these errors were encountered: