
#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 MikolajKonarski): I get the original problem (the need to manually insert --ld- option="-melf_i386") already when using a 32bit GHC on 64bit Linux (no proper cross-compilation): https://ghc.haskell.org/trac/ghc/ticket/9421#comment:2 It would be helpful if that and other parameters where inserted automatically based on HOST/BUILD/TARGET. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6086#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler