[fpc-pascal] libc error on older Linux
Michael Van Canneyt
michael at freepascal.org
Mon Jun 8 21:18:03 CEST 2026
On Thu, 4 Jun 2026, Rainer Stratmann via fpc-pascal wrote:
>> Using dynlibs links your program to the C library, which is needed to load
>> other C dynamic libraries.
>>
>> So as soon as you use it, your program depends on the C library, and you
>> need to deal with C library versions.
>>
>> Michael.
>
> Is it possible to put an older libc in an own directory and tell the compiler
> to link to it?
I suppose that by manipulating the linker search path to an older version, you can do it.
We do it with Delphi at work, no reason why FPC would not be able to do it.
Michael.
More information about the fpc-pascal
mailing list