-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cygwin mingw cross compiler worked #1054
Comments
This is about cm3 AMD64_MINGW target? But "source pseudo-OS" is "mingw from Cygwin"? |
Yes. It's a cross compiler, cross compile from Cygwin to mingw. |
Ok. Thanks for answer!
… 06.09.2022, 15:09, "jpgpng" ***@***.***>:
This about cm3 AMD64_MINGW target? But "source pseudo-OS" is "mingw from Cygwin"?
Yes. It's a cross compiler, cross compile from Cygwin to mingw.
|
I just find out that it's using Cygwin's native binutils but not the cross compiler's binutils. I have no idea why this hackish setup worked. It could be the two binutils are not very different from each other. |
I reopen Issues N1052. I will add Mini-HowTo to it. |
Please, see cm3 AMD64_CYGWIN mini-HowTo #1052 (comment) |
Cygwin's cmake is the one faulty here. So, just don't use it. This means don't use the Cygwin shell altogether. We will use the setup like #1049 except instead of the mingw64 bin directory, we add the Cygwin's bin directory to Windows PATH.
The external cmake will have problem detecting the C and C++ compilers from Cygwin. So we help it by specifying these environment variables (we are using Windows' Command Prompt here):
The rest is the same as #1049
The text was updated successfully, but these errors were encountered: