-
Notifications
You must be signed in to change notification settings - Fork 59
Cross compilation support. #82
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
When cross-compiling with gcc you need to make sure that you specify the cross-compiler (since there isn’t a “default”). Neither rust nor the ecosystem guess what it might be, and usually default to plain The relevant environment variables can already be seen in the error output. |
Thanks for confirming my suspicion so I can use |
This crate like many others in the ecosystem uses |
Triage: closing as this was a question, not a bug and does not need to be tracked. |
Hey all.
I am trying to compile the rust compiler to
aarch64_unknown_illumos
from myx86_64_unknown_illumos
system. However as described in rust-lang/rust#112936 I get the following error.From waht I can read out gcc build does not understand that ARM assembler. Do you know how to setup a usable cross compiler on linux or another unix OS? if I have the guide to setup the compiler properly or the packages and the OS this build script assumes I can copy the packaging to our system. Alternatively could we get Variables we can set during build to sepecify a different compiler binary so I can force the rust build to use the ARM cross compiler instead of the native system one?
The text was updated successfully, but these errors were encountered: