Re: [commit: ghc] master: Use -O0 -g C flags when compiling a debug way (9f3b927)
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
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