Tiger installer [was: Re: ANN: Mac installer pkg for GHC - 6.8.2.20080211 trial release (Leopard, Intel)]

Manuel M T Chakravarty chak at cse.unsw.edu.au
Wed Feb 20 18:26:54 EST 2008


Christian Maeder:
> Manuel M T Chakravarty wrote:
>> Christian Maeder:
>>> export MACOSX_DEPLOYMENT_TARGET=10.4
>>>
>> Specifically, I am seeing
>>
>>  dyld: bind: ghc-6.9.20080219:_fcntl$UNIX2003$lazy_ptr =
>> libSystem.B.dylib:_fcntl$UNIX2003, *0x0108a413 = 0x92c7b7bc
>
> what tells you that this is Leopard specific?

http://lists.apple.com/archives/darwin-dev/2007/Nov/msg00108.html

>>  -optl-isysroot -optl/Developer/SDKs/MacOSX10.4u.sdk
>> -optl-mmacosx-version-min=10.4
>
> Interesting, in contrast to you I had a problem with
> -mmacosx-version-min and had to use MACOSX_DEPLOYMENT_TARGET when
> building user programs on Leopard using my Tiger bindist.
>
> http://www.haskell.org/pipermail/glasgow-haskell-users/2008-January/014093.html

I made a similar observation.  Using -syslibroot in addition, fixed  
the problem for me.

>> -optl-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
>>
>> on all CC and LD targets, I don't seem to have any Leopard symbols
>> anymore.  FWIW, Xcode 3.0 also seem to use explicit SDK options.
>
> I haven't built ghc on Leopard, yet, but I'll expect to use -isysroot
> and -syslibroot then, too.

Hold off another day or two and you get that automatically by just  
using --with-macos-deployment-target=10.4 with GHC's ./configure.   
(This will even enable you to generate a GHC build for 10.4 from a  
bootstrap compiler for 10.5, which is non-trivial due to the programs  
in utils/ and some other stuff.)

Manuel



More information about the Glasgow-haskell-users mailing list