[fpc-devel] fnmatch (linux), where is the external

robert rozee rozee at mail.com
Tue Oct 17 15:34:50 CEST 2023


Sent: Wednesday, October 18, 2023 at 2:17 AM
From: "Mattias Gaertner via fpc-devel" <fpc-devel at lists.freepascal.org>
To: fpc-devel at lists.freepascal.org
> Let's see if I got this right:
> You installed the debs and then installed a new compiler, effectively
> replacing deb files.
>
> The problem is that the debs install a version (Makefile.compiled files)
> that is blind for changes to the compiler.
>
> If you need a custom compiler, you need to compile lazarus yourself too,
> either clone it yourself with git or use fpcupdelux.


i start out with a clean Linux install, then install the three .deb packages.

next i place in /usr/share/fpcsrc/3.2.2/ the following script and run it as root:

#!/bin/sh
COMPILER=fpc
make clean
make all FPC=$COMPILER OPT="-Fl/usr/local/lib"
make FPC=$COMPILER install INSTALL_PREFIX=/usr/

this script, according to Fred vS, rebuilds: FPC, the FPC RTL, and the Lazarus LCL. i have every reason to believe that this script does rebuild everything, but i am open to any additional steps that should be added to the script to rebuild anything that has been missed out.


cheers,
rob   :-)






More information about the fpc-devel mailing list