On 18 July 2005 16:03, Dinko Tenev wrote: > On 7/18/05, Simon Marlow <[EMAIL PROTECTED]> wrote: >> Two reasons: one, -O implies -fvia-C and two, -keep-hc-files also >> implies -fvia-C (because otherwise you don't get any .hc files). >> You'll need to modify the definition of GhcLibHcOpts in build.mk to >> put -fasm after -O, and also to remove -keep-hc-files. > > I'll try this tonight, thanks. > > BTW, am I the only one to find it alarming that GHC would allow > conflicting options to override one another without any warning? :)
The GHC command-line isn't declarative, it's imperative. Options are processed left-to-right. That's the general rule, anyway. It would be an interesting exercise to specify the GHC command-line semantics, or better still, redesign it :) Cheers, Simon _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users