gcc: cpp pre-defined variables
Chuck Swiger
cswiger at mac.com
Wed Aug 2 13:42:24 UTC 2006
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
More information about the freebsd-questions
mailing list