This was reproduced on rc2, too. I installed ghc-6.12 rc2 by the installer.

As the ticket I mentioned[1] says, The problem is the flags to build
32-bit binaries is not passed to the hsc2hs executable when the hsc2hs
wrapper get any --cc parameter. Cabal passes --cc parameter to the
wrapper to tell where gcc is. So when building a package with Cabal,
hsc2hs goes wrong.

[1]: http://hackage.haskell.org/trac/ghc/ticket/3681

--nwn

On Mon, Nov 30, 2009 at 1:49 PM, Antoine Latter <[email protected]> wrote:
> On Sun, Nov 29, 2009 at 9:08 PM, Manuel M T Chakravarty
> <[email protected]> wrote:
>>
>> Which version of 6.12 are you running?  These options or manually patching 
>> the hsc2hs wrapper should not be necessary with 6.12 anymore.  (They are 
>> only a temporary workaround to use the old 6.10 release on Snow Leopard.)
>>
>> Manuel
>
> I built it within the past few days, I'm not sure why the version
> number says 1120.
>
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.12.0.20091120
>
> Installed from darcs via "configre --prefix=${HOME}/usr && make &&
> make install" and such.
>
> Could an unpatched hsc2hs wrapper have been left around by my old GHC
> 6.10 installation?
>
> Antoine
>
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to