cabal install network was: Re: ANNOUNCE: GHC 7.0.2 Release Candidate 2

Christian Maeder Christian.Maeder at dfki.de
Thu Mar 17 12:49:36 CET 2011


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?

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

Modifying archives seems to scary:
http://hackage.haskell.org/trac/ghc/ticket/4996

Thanks Christian

>>
>> Ok, they are not in bin/ghc script. So where does ghc get them from?
>
> Compiled into the compiler, from the
> cCcOpts/cGccLinkerOpts/cLdLinkerOpts variables in
> compiler/stage*/build/Config.hs
>
>
> Thanks
> Ian



More information about the Glasgow-haskell-users mailing list