Marc Santhoff wrote: > Hi, > > is it possible to tell fpc to only replace macros in the code and > store/show the generated file? > > Like Running "cpp myfile.c > myfile.preprocessed.c"? >
This doesn't answer your question, but maybe it's helpful: While developing pasdoc, I wrote a Pascal preprocessor. It expands FPC macros, handles $ifdefs, $includes etc. and outputs processed code. See [http://pasdoc.sipsolutions.net/OtherTools]. Michalis _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal