Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 09:01:27 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        jedgar@fxp.org
Subject:   Re: God I feel stupid (gcc issue)
Message-ID:  <200008091601.JAA53642@vashon.polstra.com>
In-Reply-To: <Pine.BSF.4.21.0008082231230.89681-100000@pawn.primelocation.net>
References:  <Pine.BSF.4.21.0008082231230.89681-100000@pawn.primelocation.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.21.0008082231230.89681-100000@pawn.primelocation.net>,
Chris D. Faulhaber <jedgar@fxp.org> wrote:
> On Tue, 8 Aug 2000, Laurence Berland wrote:
> 
> > So I thought, "we don't define __GNUC__?"  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!
> > 
> 
> From 4.1-STABLE:
> 
> jedgar@wopr:~$ cpp -v

That's the wrong way to do it because cpp behaves differently than cc.
Another poster gave the right answer: "gcc -E -dM - < /dev/null".

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?200008091601.JAA53642>