
#6086: Cross compilation fails using system linker for other architecture binaries ----------------------------------------------+--------------------------- Reporter: mtjm | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.4 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | ----------------------------------------------+--------------------------- Comment (by rwbarton): Try adding `--with-gcc=[whatever the path to the C cross-compiler is]` to the configure command line. I've found that I need to do this when cross- compiling. I think that configure detecting the C cross-compiler worked in 7.8.2 and broke in 7.8.3 but I'm not 100% sure. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6086#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler