[GHC] #8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
GHC
ghc-devs at haskell.org
Wed Mar 19 15:11:36 UTC 2014
#8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
---------------------------------+------------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------+------------------------------------
Comment (by simonmar):
I think I know why this is (came across it while looking at something
else). We ask the bootstrapping GHC for the name of the C compiler it
uses, and this becomes `$(CC_STAGE0)`. This is then used for compiling
anything in stage 0, that is, things that we need during the build. I'm
not sure why it would be used when compiling the RTS though, that seems
wrong.
Probably what we want to do is make `--with-gcc` set `$(CC_STAGE0)`,
overriding the value provided by the stage 0 GHC.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8498#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list