Cross compiling with mingw uses wrong gcc
Greetings,
I tried to cross compile a cross compiler ghc on Debian jessie Linux/GNU i386. I configured with "./configure --target=x86_64-w64-mingw32" (log attached). The configure script runs and then wants to use the native gcc (/usr/bin/gcc) instead of the mingw one (/usr/bin//usr/bin/x86_64-w64-mingw32-gcc). Thus the mingw headers (in /usr/x86_64-w64-mingw32/include/) aren't found, which leads to errors during compiling (relevant part attached).
Regards Sven
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |