Writing a standalone c preprocessor (like the old cpp) using the cpplib
Oliver Rohe
prinzadam@yahoo.de
Fri Oct 15 15:30:00 GMT 2010
Hi everybody,
for a project I need a standalone c preprocessor and I was thinking about using
the cpplib from the latest gcc-core 4.6 snapshot
as the base library. Could maybe anyone please post a very brief guide on how to
start and what files I have to look at. I am quite a beginner
and kinda lost without some help. My idea is to write a frontend that reads in
the files, include paths and the defines, then calls the libcpp to do
the preprocessing and afterwards writes out the preprocessed files.
I hope someone can give me some infos...
Thanks in advance,
Oli
More information about the Gcc-help
mailing list