Re: [commit: ghc] master: Use -O0 -g C flags when compiling a debug way (9f3b927)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
On 17/10/2012 14:44, Ian Lynagh wrote:
> 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.

I see, ok.

Cheers,
	Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.