How can I interface myself with the C preprocessor?
Michael Eager
eager@eagercon.com
Wed Oct 4 15:42:00 GMT 2006
Matteo Fioroni wrote:
> Hi,
> I need to write a program that can interface itself
> with the C preprocessor.
> On the Internet I've found a lot of documentation, but
> all on the C compiler and other layer of Gcc (SAT
> ecc.).
> I have to use the preprocessor to retrieve the
> inforfations about "#pragmas" in the C code.
> I think that I can use the preprocessore features to
> "scan" the code I can obtain the informations I need
> in a good way.
>
> So, I ask you how can I get some docomuntation about C
> preprocessor and how can I interface myself with it?
Have you looked at cpp? Or "gcc -E"?
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Gcc
mailing list