GHC 6.12 + zlib + Mac OS 10.6

Yusaku Hashimoto nonowarn at gmail.com
Mon Nov 30 05:38:29 EST 2009


I think this is a problem for architectures in which can only build
32-bit binaries.

On such architectures, hsc2hs should ensure to work for 32-bit
binaries as possible. So I think hsc2hs wrapper should be fixed to
give the flags if gcc is used.

--nwn

On Mon, Nov 30, 2009 at 5:44 PM, Simon Peyton-Jones
<simonpj at microsoft.com> wrote:
> Should this go in a FAQ? For GHC? Or for a particular architecture?
>
> Simon
>
> | -----Original Message-----
> | From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
> | bounces at haskell.org] On Behalf Of Antoine Latter
> | Sent: 28 November 2009 23:01
> | To: Yusaku Hashimoto
> | Cc: glasgow-haskell-users at haskell.org; Haskell Libraries
> | Subject: Re: GHC 6.12 + zlib + Mac OS 10.6
> |
> | On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto <nonowarn at gmail.com> wrote:
> | > I think you installed zlib without proper flags to link with 32-bit
> | > libraries. configuring with ./Setup configure
> | > --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
> | >
> | > See also http://hackage.haskell.org/trac/ghc/ticket/3681.
> | >
> | > HTH
> | > -~nwn
> |
> | The following worked like a charm:
> |
> | cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
> |
> | Thanks for the tip.
> |
> | Antoine
> | _______________________________________________
> | Glasgow-haskell-users mailing list
> | Glasgow-haskell-users at haskell.org
> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>


More information about the Libraries mailing list