Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 09:06:37 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        stuyman@confusion.net
Subject:   Re: God I feel stupid (gcc issue)
Message-ID:  <200008091606.JAA53678@vashon.polstra.com>
In-Reply-To: <3990C10F.B21AEF92@confusion.net>
References:  <3990C10F.B21AEF92@confusion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <3990C10F.B21AEF92@confusion.net>, Laurence Berland
<stuyman@confusion.net> wrote:

> So I thought, "we don't define __GNUC__?"

But our compiler _does_ define that macro.

> I figured I'd check.  After much mind wracking, I can't for the life
> of me figure out how to get gcc to output a list of what is and isnt
> defined by default... help!

Another poster already answered your specific question.  The general
way to find out stuff like this is with "info gcc".  (Or use the
equivalent emacs incantation -- CTRL-META-WiggleLeftToe, I believe it
is.)  Follow the links Invoking GCC -> Preprocessor Options and you'll
find out how to get all sorts of useful information from the compiler.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008091606.JAA53678>