On 2021-11-22 16:21, Jonas Maebe via fpc-pascal wrote:
On 22/11/2021 16:02, Bo Berglund via fpc-pascal wrote:
This is what happens when I execute the first make command inside the
fpc source
dir:
~/devel/fpc/3.2.2$ make clean
make: -iVSPTPSOTO: Command not found
/usr/bin/rm -f build-stamp.*
/usr/bin/rm -f base.build-stamp.*
I have checked that build-essentials are installed on this Ubuntu
machine.
Where do I go from here?
FPC needs a previous version of FPC to bootstrap. So first install fpc
using apt-get on the VM.
While the answer from Jonas is obviously the simplest and most complete
solution, there is an alternative workaround (not necessarily a fully
guaranteed solution!) for your situation. The particular failing /
missing command used by make is the fpc binary. If you have installed a
bootstrap compiler _and_ if you try to perform a native build (not to
build for a different CPU), you can run make with an additional
parameter setting the variable "FPC" to the path of your compiler binary
(e.g. 'make all "FPC=/usr/bin/ppcx64"').
Tomas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal