[fpc-pascal] Make clean error when building fpc 3.2.2 from sources

Bo Berglund bo.berglund at gmail.com
Mon Nov 22 18:20:41 CET 2021


On Mon, 22 Nov 2021 16:47:29 +0100, Tomas Hajny via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:

>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"').

Thanks, I thought that would not be needed when only doing clean...
Was going to add it in the next step "make all"
Now running the build.


-- 
Bo Berglund
Developer in Sweden



More information about the fpc-pascal mailing list