[GHC] #9503: Cross compiling with mingw uses wrong gcc
GHC
ghc-devs at haskell.org
Fri Aug 22 17:01:08 UTC 2014
#9503: Cross compiling with mingw uses wrong gcc
-------------------------------------+-------------------------------------
Reporter: Kritzefitz | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.8.3
Keywords: Cross compiling | Operating System: Linux
Architecture: x86 | Type of failure: Building
Difficulty: Unknown | GHC failed
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
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
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9503>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list