[fpc-pascal] Building FPC from sources on Linux Mint 19, make clean errors out

Bo Berglund bo.berglund at gmail.com
Mon Nov 5 15:30:22 CET 2018

On Mon, 05 Nov 2018 15:12:16 +0200, "Dimitrios Chr. Ioannidis via
<fpc-pascal at lists.freepascal.org> wrote:

>This works for me the last 3 years :
>   make clean FPC=<pathto>\ppc executable you'll use.

OK, I did not think that make clean should need the compiler in the
first place since all it would do is erase all previous compilation
artifacts. So I did not add the command line switch FPC. Why need the
compiler to erase files???

>PS: AFAIK, you need to use the previous version official compiler to 
>build the sources. Meaning for 3.0.4 sources you'll need 3.0.2 and not 
>3.0.0. At least this is what I do to avoid to use the override 

Well my read is that 3.0.0 should be used for *all* 3.x builds...
And I had symlinked the 3.0.0 version of ppcx64 into ~/bin, but I had
some problems making that work too.
After I compiled 3.0.4 I change the symlink to point to the new
version 3.0.4

Adding FPC=~/bin/ppcx64 as a command line argument to make fixed it

Maybe I should recompile 3.0.4 with itself in true Wirth spirit?

Bo Berglund
Developer in Sweden

More information about the fpc-pascal mailing list