[GHC] #4852: Incorrect HSC2HS_EXTRA value of hsc2hs on MacOS 10.6
GHC
cvs-ghc at haskell.org
Sun Dec 19 18:58:08 CET 2010
#4852: Incorrect HSC2HS_EXTRA value of hsc2hs on MacOS 10.6
----------------------------------+-----------------------------------------
Reporter: kazu-yamamoto | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.0.2
Component: libraries (other) | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Other
----------------------------------+-----------------------------------------
Changes (by igloo):
* priority: normal => highest
* os: MacOS X => Unknown/Multiple
* component: hsc2hs => libraries (other)
* architecture: x86 => Unknown/Multiple
* milestone: => 7.0.2
Comment:
This is really a Cabal problem. Cabal calls network's configure:
{{{
[...]
("sh",["configure","--with-compiler=ghc","--prefix=/[...]/.cabal"])
configure: WARNING: unrecognized options: --with-compiler
checking build system type... i386-apple-darwin10.5.0
checking host system type... i386-apple-darwin10.5.0
checking for gcc... gcc
[...]
}}}
but doesn't tell it which gcc to use, or what flags to pass it. When
hsc2hs later calls gcc, it calls the right gcc with the right flags, which
in this case presumably doesn't match the default gcc and no flags.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4852#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list