#3681: hsc2hs wrapper script throws away $HSC2HS_EXTRA's value when specified C
compiler to use
---------------------+------------------------------------------------------
Reporter: nwn | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: hsc2hs | Version: 6.12.1 RC1
Resolution: | Keywords:
Difficulty: | Os: MacOS X
Testcase: | Architecture: x86
Failure: Other |
---------------------+------------------------------------------------------
Changes (by igloo):
* priority: high => normal
* milestone: 6.12.1 => 6.14.1
Comment:
Fixed, for now, in HEAD and 6.12 by:
{{{
Tue Dec 1 04:47:16 PST 2009 Ian Lynagh <[email protected]>
* Don't set HSC2HS_EXTRA= when we get a --cc= flag; fixes trac #3681
On OS X, we need to specify -m32 or -m64 in order to get gcc to
build binaries for the right target. We do that by putting it in
HSC2HS_EXTRA. When cabal runs hsc2hs, it passes a flag saying which
gcc to use, so if we set HSC2HS_EXTRA= then we don't get binaries
for the right platform. So for now we just don't set HSC2HS_EXTRA=
but we probably want to revisit how this works in the future.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3681#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs