On Sunday 21 June 2009 20:03:09 Martin-Éric Racine wrote:
> On Sun, Jun 21, 2009 at 5:19 PM, Peter Eisentraut<pet...@debian.org> wrote:
> > On Sunday 21 June 2009 17:02:43 Martin-Éric Racine wrote:
> >> Setting CC=cc is entirely the wrong thing to do when passing -g as a
> >> compiler option. If you pass -g, then you also need to specific
> >> CC=gcc.
> >
> > Why?
>
> Because -g produces GDB-specific output, which is not available on
> non-GNU compilers.

The Single Unix Specification supports the -g option for compilers, so you can 
assume that anything that is a reasonable Unix C compiler supports it.

We should figure out what the Debian policy for all this is, though.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to