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

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

Reply via email to