[Haskell-cafe] Snow Leopard, gtk2hs

Arne Dehli Halvorsen arne.d.h at gmail.com
Tue Oct 6 16:37:10 EDT 2009


On Tue, Oct 6, 2009 at 10:09 PM, Gregory Collins <greg at gregorycollins.net>wrote:

> Arne Dehli Halvorsen <arne.d.h at gmail.com> writes:
>
> > On Tue, Oct 6, 2009 at 8:49 PM, Gregory Collins <greg at gregorycollins.net>
> wrote:
> >
>
> >
> > hsc2hs was new to me, the others were ok.
> > It didn't help, though.
>
> Sorry to be pedantic, just to confirm, the last line of hsc2hs should
> read:
>
>    exec
> /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/hsc2hs
> $tflag $HSC2HS_EXTRA --cflag="-m32" --lflag="-m32" ${1+"$@"} "$Iflag"
>
> If that doesn't work I'm stumped (haven't tried to build gtk2hs on OSX.)
>

Hmm: This is what my /usr/bin/ghc
(->/Library/Frameworks/GHC.framework/Versions/610/usr/bin/ghc-6.10.4) looks
like -
exec /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc
-B/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/.
-dynload wrapped ${1+"$@"} -optc-m32 -opta-m32 -optl-m32
...and I had added that same "-optc-m32 -opta-m32 -optl-m32 " to all the
others too.

The result is the same after altering hsc2hs to follow the same flag
convention as yours, though.

Arne D Halvorsen

>
> G
> --
> Gregory Collins <greg at gregorycollins.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091006/0409abb5/attachment.html


More information about the Haskell-Cafe mailing list