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


_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to