
#10671: inplace/bin/ghc-stage1 doesn't respect --with-ld override -------------------------------------+------------------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by erikd): Replying to [comment:5 thomie]:
In the function `initSysTools` in `compiler/main/SysTools.hs`, the C compiler is always used as the linker:
I can't remember where, but I did find that the linker is called directly somewhere or somehow. Possibly when cross-compiling? I really should have documented this when I found it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10671#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler