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.
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal