<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bo Berglund via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Sa., 18. Nov. 2023, 11:32:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Today after realizing that I did the following on an RPi4B where I have used apt<br>
to install the fpc compiler so I could use that as the seed compiuler to build<br>
from sources.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Why don't you simply follow what I DID? First of deinstall that apt fpc again. Then download 3.2.2 for aarch64-linux from SourceForge, install it and add /path/to/where/you/installed/fpc/bin to your PATH (using "export PATH=/new/path:$PATH"). </div><div dir="auto">Best pick in an installation path like /wherever/fpc/<version> and select "yes" when asked whether to adjust the fpc.cfg with $fpcversion, that will come in handy later. </div><div dir="auto"><br></div><div dir="auto">Next download the sources for 3.2.3 and extract them somewhere different than "/wherever/fpc". Change into that directory and execute the commands as I had written in my previous mail (you should be in the same command line session where you adjusted PATH for this to work otherwise you need to set it again). The INSTALL_PREFIX should be "/wherever/fpc/3.2.3".</div><div dir="auto"><br></div><div dir="auto">Next set your PATH again, but this time use the directory for 3.2.3 ("echo $PATH" plus selecting and pasting is your friend here, cause you don't want to *extend* your path, but replace it; or simply start a new console windows and append the path there now that I think about it 😅). </div><div dir="auto"><br></div><div dir="auto">Now you should have a working FPC and you can compile Lazarus from source (sorry, don't know how to setup fpcupdeluxe to use an existing compiler, cause I don't use it).</div><div dir="auto"><br></div><div dir="auto">In Lazarus you then also need to set the path to your compiler. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>