[fpc-pascal] Compile fpc twice or only once during install?

Sven Barth pascaldragon at googlemail.com
Fri Jul 12 17:04:04 CEST 2019


Christo Crause <christo.crause at gmail.com> schrieb am Fr., 12. Juli 2019,
15:30:

>
> On Fri, 12 Jul 2019, 14:19 Bo Berglund, <bo.berglund at gmail.com> wrote:
>
>> When I install FPC/Lazarus on new Linux systems I use a script I wrote
>> several years ago. It is cofigured for the actual versions to install
>> but otherwise it is self-contained.
>>
>> What it does concerning fpc is:
>> - Get the tagged version of the sources from svn (typically 3.0.4)
>> - Get the seed compiler 3.0.0, which I have stored on my website
>> - Build all using the seed compiler
>> - Install sources etc.
>>
>> Now I wonder if I should add a second "make all" after pointing to the
>> newly built 3.0.4 such that the final result is fpc 3.0.4 built from
>> sources compiled by itself?
>>
>> Or is this superfluous?
>>
>
> AFAIK the make file cycle through the compiler build process 3, starting a
> new cycle with the compiler from the previous cycle. So no need to make all
> a 2nd time, it is implicit in the make file recipe.
>

Correct. In fact it also throws in an additional WPOCYCLE (two
compilations) to optimize the compiler further. ;)

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190712/f0c30b8e/attachment.html>


More information about the fpc-pascal mailing list