help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OK. Where did you hide -DDEBUG info ??


From: Stephen Berman
Subject: Re: OK. Where did you hide -DDEBUG info ??
Date: Tue, 03 Jul 2007 20:29:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

On Tue, 03 Jul 2007 11:41:54 -0400 William Case <billlinux@rogers.com> wrote:

> Hi;
>
> Downloaded CompileCommand from the wiki.  Works great for me.  I wanted
> to look up all the options involved in the format part of the function:
> (format "%s -c -o %s.o %s %s %s"
>                (or (getenv "CC") "gcc")
>                (file-name-sans-extension file)
>                (or (getenv "CPPFLAGS") "-DDEBUG=9")
>                (or (getenv "CFLAGS") "-ansi -pedantic -Wall -g")
>                             file)
>
> I found them all in gcc info -- except "-DDEBUG=9".  Tried googeling and
> searching all indexes but got no useful return.  Where in info or man
> can I find a description of "-DDEBUG=9"

See Info (gcc)Preprocessor Options (section 3.11).  `-DDEBUG=9' means
the macro named DEBUG is defined as 9.  The `-D' flag takes its
argument with no space (as with many gcc option flags).

Steve Berman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]