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]

Re: Macro expansion without merging include files


lego@gentoo.se wrote:

Is it possible to only expand macros in a c source file without invoking
the other preprocessor directives? I have studied the manual for the
preprocessor and the m4 macro expander without comming up with any
solution. Are there any other solutions for this problem perhaps?

Sincere,
Lego


gcc -E <filename>

-E will ONLY preprocess. No compilation/assembling/linking will take place.

If you already know that and are looking for something else, im Sorry.

Cheers

--
*****************************
* Sriharsha Vedurmudi
* Software Engineer
* * Redpine Signals Inc.
* Gate #395, Plot 87,88
* Sagar Society, Road #2, * Banjara Hills,
* Hyderabad - 500 034
* www.redpinesignals.com
*
* +91-40-23559911 (Office)
* +91-9849133133 (Mobile)
*****************************



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