Print Header File Includes After Preprocessing
You can use gcc -M to print all the dependencies of a C source file. For example:
|
|
To see the resulting file after all those includes, you can cat them together:
|
|
Then, to print all the preprocessor #defines, excluding the predefined ones:
|
|