|
|
Seeing all predefined macros
Here's how to see all predefined macros from gcc. Create a file test.c that has one line in it:
int main(void) {}
Then compile with this command:
gcc -dM -E test.c
Even easier (I got an e-mail tip on this)
echo . | gcc -dM -E -
(These work with any gcc port.)
|
|
|
|
|