Date: Wed, 02 Aug 2006 09:42:09 -0400 From: Chuck Swiger <cswiger@mac.com> To: Lorin Lund <wbs@infowest.com> Cc: freebsd-questions@freebsd.org Subject: Re: gcc: cpp pre-defined variables Message-ID: <44D0ABB1.9070307@mac.com> In-Reply-To: <44D06735.40603@infowest.com> References: <ef10de9a0608011723y770687f7me0b4cacd176fe4d1@mail.gmail.com> <44D06735.40603@infowest.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Lorin Lund wrote: > How can I find all the variables that are pre-defined in the pre-processor. > > Do these come from a configuration file? Or are the compiled in to cpp when > it is ported to a platform? Something like: touch test.h; cpp -dM test.h ...will show you all of the predefined macros. These are compiled into the compiler when the toolchain is built. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D0ABB1.9070307>