mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:06:14 +02:00
* default linker name for non-i386 and non-m68k
This commit is contained in:
parent
6e3aec5acc
commit
e90bd0332a
@ -241,6 +241,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
FindClose(St);
|
FindClose(St);
|
||||||
{$else m68k}
|
{$else m68k}
|
||||||
|
{$ifdef i386}
|
||||||
{ first try glibc2 }
|
{ first try glibc2 }
|
||||||
DynamicLinker:='/lib/ld-linux.so.2';
|
DynamicLinker:='/lib/ld-linux.so.2';
|
||||||
if FileExists(DynamicLinker) then
|
if FileExists(DynamicLinker) then
|
||||||
@ -254,6 +255,10 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
DynamicLinker:='/lib/ld-linux.so.1';
|
DynamicLinker:='/lib/ld-linux.so.1';
|
||||||
|
{$else i386}
|
||||||
|
Glibc2 := true;
|
||||||
|
DynamicLinker:='/lib/ld.so.1';
|
||||||
|
{$endif i386}
|
||||||
{$endif m68k}
|
{$endif m68k}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -562,7 +567,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.12 2003-10-30 18:35:30 marco
|
Revision 1.13 2004-01-01 15:34:50 jonas
|
||||||
|
* default linker name for non-i386 and non-m68k
|
||||||
|
|
||||||
|
Revision 1.12 2003/10/30 18:35:30 marco
|
||||||
* librarysuffix + profiling
|
* librarysuffix + profiling
|
||||||
|
|
||||||
Revision 1.11 2003/10/11 19:32:04 marco
|
Revision 1.11 2003/10/11 19:32:04 marco
|
||||||
|
Loading…
Reference in New Issue
Block a user