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
t.com From: fpc-pascal on behalf of duilio foschi via fpc-pascal Sent: Monday, February 15, 2021 2:20:28 PM To: FPC-Pascal users discussions Cc: duilio foschi Subject: [fpc-pascal] compiling on command line linux Today I had to compile a program on my Linux server. The progra

[fpc-pascal] compiling on command line linux

2021-02-15 Thread duilio foschi via fpc-pascal
Today I had to compile a program on my Linux server. The program was written for windows and needed libraries synapse and lazutils, and they were missing from the server. I copied all the needed units from my PC into the linux work directory and it worked with the usual command fpc programname.