Possible Duplicate:
C/C++ source file after preprocessing
I am looking to generate all of the pre-processed c code for an application, in this case apache. I downloaded the source code for Apache, and have been running the following command “gcc -c -save-temps *.c” and have tried /.c. When running either of these commands, I get numerous errors, some of which include:
server/core.c:17:17: fatal error: apr.h: No such file or directory
compilation terminated.
server/core_filters.c:22:17: fatal error: apr.h: No such file or directory
compilation terminated.
server/eoc_bucket.c:17:19: fatal error: httpd.h: No such file or directory
compilation terminated.
I am fairly certain the program SHOULD compile correctly since it came right from the Apache website. What should I be doing in order to generate the necessary pre-processed c code. Should I be using the makefile somehow?
The application I am attempting to analyze the source code with which requires the pre-processed c code can found here
Thank you for your help everyone.