unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* OK.  Where did you hide -DDEBUG info ??
@ 2007-07-03 15:41 William Case
  2007-07-03 18:29 ` Stephen Berman
  0 siblings, 1 reply; 2+ messages in thread
From: William Case @ 2007-07-03 15:41 UTC (permalink / raw)
  To: EMACS List

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"


-- 
Regards Bill

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OK.  Where did you hide -DDEBUG info ??
  2007-07-03 15:41 OK. Where did you hide -DDEBUG info ?? William Case
@ 2007-07-03 18:29 ` Stephen Berman
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Berman @ 2007-07-03 18:29 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-03 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03 15:41 OK. Where did you hide -DDEBUG info ?? William Case
2007-07-03 18:29 ` Stephen Berman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).