all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.