[fpc-pascal] How to compile program from command line on Linux?

Bo Berglund bo.berglund at gmail.com
Mon Dec 16 14:06:02 CET 2024


I have written a command line utility program on Linux using Lazarus as the IDE.
This was done a while ago on an Ubuntu Desktop 20.04 machine, which I normally
access using VNC when doing Lazarus work there.

Now since a few months the TigerVNC server on that machinbe won't start anymore
so I cannot reach Lazarus.
But I can log on just fine using PuTTY from Windows and do whatever on the
command line.

So what I want to do is to modify the source, which I can do via SSH.
But then I want to build a new version of the program without access to Lazarus
there.

Can this be done and in that case how?
Last build of the application was using fpc ver 3.2.2 and probably Lazarus 2.2.4

I have never compiler a FreePascal program from the command line before....

TIA


-- 
Bo Berglund
Developer in Sweden



More information about the fpc-pascal mailing list