Re: Macro expansion without merging include files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lego@xxxxxxxxx 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux