-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linker error on cross compile to x86_64-pc-windows-gnu #33465
Comments
This is a dup of |
Actually, looking at #32859 in more detail this might be a different issue? |
Looks like the wrong linker is being used? The compiler is using "gcc" |
|
Closing as I believe this was just the wrong linker being used. |
I tried cross compile today with
Then |
Should this work out of the box? It does not for me, I had to change Therefore I think the issue should be reopened. |
Agree. shouldn't rustc or whatever be able to find the correct linker itself? |
rustc has the logic for finding a correct host toolchain, however the cross-toolchains can be present in varying forms, shapes and locations, making finding them automagically not very feasible. |
But wouldn't it already help to default the linker to at least a possible toolchain-specific linker (say |
Attempting to cross compile from 64Bit Arch after doing
Errors with an linker error:
Compiler version:
The text was updated successfully, but these errors were encountered: