[fpc-devel] fnmatch (linux), where is the external
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Oct 17 16:05:42 CEST 2023
On 17.10.23 15:34, robert rozee via fpc-devel wrote:
> 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.
No, it updates fpc and all its packages. It does not touch any Lazarus
package. They must be rebuilt too. Since all packages needs rebuilding,
it makes no sense to use the lazarus deb. Just use the git version or
fpcupdelux.
Mattias
More information about the fpc-devel
mailing list