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

Ian Lynagh igloo at earth.li
Wed Feb 23 15:41:06 CET 2011


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.
> 
> 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