* more reasonable defaults when no dyn. linker is found, resolves #10431

git-svn-id: trunk@11020 -
This commit is contained in:
florian 2008-05-20 21:06:12 +00:00
parent c9433c0b1f
commit bcbc221191

View File

@ -210,9 +210,18 @@ begin
end end
else else
begin begin
{ default is glibc 2.1+ compatible } { when no dyn. linker is found, we are probably
DynamicLinker:='/lib/ld-linux.so.2'; cross compiling, so use the default dyn. linker }
DynamicLinker:=defdynlinker;
{
the default c startup script is gcrt0.as on all platforms
except i386
}
{$ifdef i386}
libctype:=glibc21; libctype:=glibc21;
{$else i386}
libctype:=glibc2;
{$endif i386}
end; end;
end; end;
end; end;