-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issues cross-compiling from Linux to Windows #13
Comments
I didn't try this configuration, as I use the msvc windows build. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am cross-compiling from x86-64-unknown-linux-gnu to i686-pc-windows-gnu. Here are some issues I encountered:
Debug
/Release
/RelWithDebInfo
folder in the end. Fixed by commenting out a line inbuild.rs
.println!("cargo:rustc-link-lib=dylib=stdc++");
line into the Windows branch as well. Although that made the built .dll requirelibstdc++-6.dll
and a few other MinGW dlls; I couldn't change the line to saystatic
because it couldn't find the static libstdc++ for some reason.With those hack fixes in place, everything seemed to work fine.
I suspect these issues are specific to windows-gnu in general and not to just cross-compiling.
The text was updated successfully, but these errors were encountered: