very good. I created the new directories
./synapse and ./lazutils in /usr/lib/fpc/3.2.0/units/x86_64-linux It worked like a charm. It seems that all the units in that directory are searched by default. Thank you Duilio On Tue, Feb 16, 2021 at 7:29 AM Sven Barth <pascaldra...@googlemail.com> wrote: > 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 >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal