[fpc-devel]Linux: searching libs
Peter Vreman
peter at freepascal.org
Sat Dec 16 15:46:40 CET 2000
At 18:52 15-12-00, you wrote:
>Hi,
>
>I have a funny problem with cvs -r FIXES_1_0_0: It does not link my
>project but do when compiling the compiler. I don't know, why, but there
>still is a bug:
>
>In t_linux.pas (241): FileExists('/lib/ld-2.0.*');
The fileexists needs to be fixed, it'll take a look at it
>This function allways return FALSE because of the wildcard. So even if a
>user just have installed glibc 2.0 fpc will think he has 2.1.
>
>Back to the main problem: When I'm linking my project, the linker tells
>me, U_SYSTEM_* are not resolved while linking (from cprt21). I realy do
>not know, why. If I have just a test program like
>
>uses
> sysutils;
>
>begin
> writeln(fileexists('/lib/ld-2.1.*');
>end.
>
>everything works fine.
>
>Next funny thing, when using FPC 1.1, everything is working fine as well.
>
>Any hints?
You can't use the 1.1 RTL for the 1.0.x compiler as the system unit is
renamed. The 1.1 RTL works with 1.0.x only to bootstrap a new compiler.
Peter
More information about the fpc-devel
mailing list