gcc: cpp pre-defined variables
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?
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.
More information about the freebsd-questions