[fpc-devel]Linux: searching libs

Hinrich Donner hd at tiro.de
Fri Dec 15 18:52:42 CET 2000


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.*');

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?

Hinrich

-- 
Hinrich Donner





More information about the fpc-devel mailing list