[fpc-pascal] Broken code with PEEPHOLE & REGVAR

Sven Barth pascaldragon at googlemail.com
Fri Mar 11 08:32:48 CET 2022


Peter via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Fr., 11.
März 2022, 00:48:

> Pleased to report that with version
> "Free Pascal Compiler version 3.3.1-10685-gf6ac49a139-unpushed-dirty
> [2022/03/08] for x86_64"
>
> it seems fine.
>

So it seems it was fixed in main at least. Now the interesting question is
3.2.3...


> Is there a prebuild Linux binary for 3.2.3/4 anywhere?
>

No. But FPC isn't that hard to build: simply do a checkout of the repo and
switch to fixes_3_2 (or download a repo of that branch). In there do a
"make all FPMAKEOPT="-T <N>" OPT=-O2" and then "make install
INSTALL_PREFIX=/where/you/want/it".
You then also need to adjust your fpc.cfg so that the compiler can find its
units. Do a hello world test program to check whether everything works and
then test your code.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220311/90123058/attachment.htm>


More information about the fpc-pascal mailing list