From owner-freebsd-hackers Wed Aug 9 9: 1:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 828F037BB79 for ; Wed, 9 Aug 2000 09:01:38 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA12864; Wed, 9 Aug 2000 09:01:27 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA53642; Wed, 9 Aug 2000 09:01:27 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Wed, 9 Aug 2000 09:01:27 -0700 (PDT) Message-Id: <200008091601.JAA53642@vashon.polstra.com> To: hackers@freebsd.org Cc: jedgar@fxp.org Subject: Re: God I feel stupid (gcc issue) In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Chris D. Faulhaber 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