[GHC] #8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
GHC
ghc-devs at haskell.org
Thu Mar 20 15:50:53 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):
`$CPP` is set by configure's `AC_PROG_CPP`, so it is completely separate
from `--with-gcc`. To set this, you need to set `CPP` when invoking
`configure`, like this:
{{{
$ CPP="/path/to/gcc -E" ./configure --with-gcc=/path/to/gcc
}}}
I have a patch for the `CC_STAGE0` thing on the way.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8498#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list