
#9524: GHC uses wrong linker when cross compiling -------------------------------------+------------------------------------- Reporter: Kritzefitz | Owner: rwbarton Type: bug | Status: new Priority: normal | Milestone: Component: Build | Version: 7.8.3 System | Keywords: Cross compiling Resolution: | Architecture: x86 Operating System: Linux | Difficulty: Unknown Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by rwbarton): * owner: => rwbarton Comment: It's not that GHC is using the wrong linker, it's that GHC built the wrong code: this hsc2hs is supposed to run on your host system which is Linux (you can tell because it is being built by `/usr/bin/ghc`, which is not a cross-compiler), so it should not be calling `GetModuleFileNameW`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9524#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler