This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How not to preprocess system headers


Hi,

Is there a way to skip the preprocessing of system headers and extern
library headers when compiling with gcc ?

I have a very specific use of gcc, where I batch thousand of C or C++ files,
only dumping the AST generated. I do not link my .o files, and I do not want
to install the numerous libraries called by all the source files... 
What I'd like to do is preprocessing custom header files (which I have), but
none of the other header files...

Is it possible ?

Thanks a lot,
-- 
View this message in context: http://old.nabble.com/How-not-to-preprocess-system-headers-tp32453674p32453674.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]