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

> Arne Dehli Halvorsen <arne....@gmail.com> writes:
>
> > On Tue, Oct 6, 2009 at 8:49 PM, Gregory Collins <g...@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 <g...@gregorycollins.net>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to