On Wed, Oct 17, 2012 at 06:21:07AM -0700, Simon Marlow wrote: > > > > Use -O0 -g C flags when compiling a debug way > > Hmm, I think of -debug as a link-time option. Do we want it adding > flags to the C compiler too?
When linking, we compile the small C file containing main. This makes that be commpiled with debugging info. Thanks Ian _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc