[fpc-pascal] compiling on command line linux
Sven Barth
pascaldragon at googlemail.com
Tue Feb 16 07:29:01 CET 2021
Am 15.02.2021 um 22:54 schrieb Alexander Grotewohl via fpc-pascal:
> There's a command line parameter.. try something like
>
> fpc -FU~/.units.lnx yourapp.pp
Just to explain what -FUxxx does: this sets the unit output path. If you
have precompiled units (or source files) in a different location you
need to use -Fuxxx which sets the unit search path.
>
> Of course you would have to remember to do that for EVERY compile (I
> set my text editor to do it) but you could probably add it to your
> fpc.cfg too.
You can add additional parameters to a custom file (just like you'd do
with the global fpc.cfg) and then add it using the @ parameter:
fpc @your.cfg yourapp.pp
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210216/f8c7495d/attachment.htm>
More information about the fpc-pascal
mailing list