Yaniv S. wrote:
Is there a way to use CPP to help me?
There is no easy way to get the info you want from the preprocessor. It doesn't work that way.
You can use -E -dM to get a list of macro defined. This will include system and compiler defined macros. The macros will be expanded, but not evaluated, so you will have to manually perform some arithmetic to get the numbers you want.
Simpler might be to write a simple C file that prints out the macro values you want.
Jim