From owner-freebsd-hackers Wed Aug 9 9: 6:56 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 920DE37BB6D for ; Wed, 9 Aug 2000 09:06:48 -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 JAA12890; Wed, 9 Aug 2000 09:06:38 -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 JAA53678; Wed, 9 Aug 2000 09:06:37 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Wed, 9 Aug 2000 09:06:37 -0700 (PDT) Message-Id: <200008091606.JAA53678@vashon.polstra.com> To: hackers@freebsd.org Cc: stuyman@confusion.net Subject: Re: God I feel stupid (gcc issue) In-Reply-To: <3990C10F.B21AEF92@confusion.net> References: <3990C10F.B21AEF92@confusion.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <3990C10F.B21AEF92@confusion.net>, Laurence Berland 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