[fpc-pascal] Question regarding building fpc from sources

Bo Berglund bo.berglund at gmail.com
Thu Nov 30 21:30:42 CET 2023


On Thu, 30 Nov 2023 10:50:02 +0100 (CET), Michael Van Canneyt via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:

>> Somewhere in the process above the newly built compiler/ppcarm disappears from
>> the compiler dir....
>>
>> Is this what should happen or is it an error?
>
>Because installing sources requires a 'clean' source tree, 
>'make sourceinstall' does a clean first.
>
>So you should not do this as long as the compiler binary has not been 
>moved somewhere else. (the make install normally does this).
>
>Michael.

Thanks for the explanation!

This explains how it does work then, makes sense since the make install places
the compiler elsewhere in a standardized way and creates the symlinks for
starting it.
I assume that the normal way to use fpc is to have one compiler version and not
move back and forth between them?
And move up once the next is released only.

Right now the highest release version I have compiled is ver 3.2.2
I have also built 3.2.3, which I guess is a testing release not for general use?

I will set 3.2.2 as the one to use on my 32 bit RPi4B devices.

There is/was a problem on RPi4B with PiOS 64 bit regarding building from sources
so I will revisit that and check what will work.


-- 
Bo Berglund
Developer in Sweden



More information about the fpc-pascal mailing list