MacOS 10.5 was:Re: cabal install network was: ...

Christian Maeder Christian.Maeder at
Thu Mar 17 14:03:15 CET 2011

Am 17.03.2011 12:49, schrieb Christian Maeder:
> Am 23.02.2011 15:41, schrieb Ian Lynagh:
>> On Tue, Feb 22, 2011 at 05:17:35PM +0100, Christian Maeder wrote:
>>> Am 22.02.2011 14:47, schrieb Ian Lynagh:
>>>> On Tue, Feb 22, 2011 at 09:59:20AM +0100, Christian Maeder wrote:
>>>>> Where does cabal get its flags from? (hardcoded?)
>>>> From the "C compiler flags", "Gcc Linker flags" and "Ld Linker flags"
>>>> entries in ghc --info's output.
> Since the sdk flags will be gone in ghc-7.0.3, re-adding them via the
> command-line will not pass them to cabal. Should not more flags be
> passed to cabal?

It still makes sense to pass these sdk flags, if one wants to produce 
portable binaries.

> Will there be no chance to produce 10.5 code on 10.6 machines? Can
> dtrace (and its problems) be disabled on macs?

Only linking fails on MacOS 10.5, but a binary linked on MacOS 10.6 
(using ghc-7.0.2 with its sdk flags for 10.5) will run under MacOS 10.5 
as ghc-7.0.2 itself does to a large extend. (I assume ghc-7.0.2 was 
built on MacOS 10.6).


More information about the Glasgow-haskell-users mailing list