Re: [fpc-pascal] fpc in cpp mode

2007-06-25 Thread Marco van de Voort
> 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"? Not that I know. If it is really macro's you care about, you are out of luck. If you just want to get rid of conditionals, try the pascal p

Re: [fpc-pascal] fpc in cpp mode

2007-06-23 Thread Catalin Zamfir Alexandru
As I know of, FPC automatically detects which files should be recompiled. Think it's a feature of FPC. On Sunday 24 June 2007 06:03, 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 > m

Re: [fpc-pascal] fpc in cpp mode

2007-06-23 Thread Michalis Kamburelis
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 prep

[fpc-pascal] fpc in cpp mode

2007-06-23 Thread Marc Santhoff
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"? TIA, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or