Re: [fpc-pascal] compiling on command line linux

2021-02-16 Thread duilio foschi via fpc-pascal
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 wrote: > Am 15.02.2021 u

Re: [fpc-pascal] compiling on command line linux

2021-02-15 Thread Sven Barth via fpc-pascal
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

Re: [fpc-pascal] compiling on command line linux

2021-02-15 Thread Alexander Grotewohl via fpc-pascal
There's a command line parameter.. try something like fpc -FU~/.units.lnx yourapp.pp 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. -- Alexander Grotewohl https://dcclost.com _