[fpc-pascal] Make clean error when building fpc 3.2.2 from sources
Tomas Hajny
XHajT03 at hajny.biz
Mon Nov 22 16:47:29 CET 2021
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
More information about the fpc-pascal
mailing list