[fpc-pascal] switch units depending on OS and lib version

Marc Santhoff M.Santhoff at web.de
Wed Jun 17 17:27:19 CEST 2009

Am Dienstag, den 16.06.2009, 20:47 -0700 schrieb leledumbo:
> You've known the answer, use include files! The compiler information (i.e.
> target platform) can be obtained via fpc -iXXX (see fpc -h for XXX values).
> Use that value in a script (i.e. Makefiles) to subtitute directory names.
> That's what the compiler do all this time.

I see.

So doing that way would lead to move the dependencies out of the pascal
source into some form of build script. I'll think about what fits my
needs better.
Thank you very much,
Marc Santhoff <M.Santhoff at web.de>

More information about the fpc-pascal mailing list