blob: b43f6c5e35d543e7583e5b51520da9dbf763a1c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
Index: fpc/fpcsrc/compiler/systems/t_sunos.pas
===================================================================
--- fpc.orig/fpcsrc/compiler/systems/t_sunos.pas 2014-07-02 22:36:04.651731947 +0400
+++ fpc/fpcsrc/compiler/systems/t_sunos.pas 2014-07-02 22:48:31.124460657 +0400
@@ -143,18 +143,18 @@
}
{$ifdef x86_64}
const
- gld = 'gld -m elf_x86_64 ';
- solaris_ld = '/usr/bin/ld -64 ';
+ gld = 'ld -m elf_x86_64_sol2 ';
+ solaris_ld = 'sunld -64 ';
{$endif}
{$ifdef i386}
const
- gld = 'gld ';
- solaris_ld = '/usr/bin/ld ';
+ gld = 'ld ';
+ solaris_ld = 'sunld ';
{$endif }
{$ifdef sparc}
const
- gld = 'gld ';
- solaris_ld = 'ld ';
+ gld = 'ld ';
+ solaris_ld = 'sunld ';
{$endif}
begin
Glibc2:=false;
@@ -165,7 +165,7 @@
ExeCmd[1]:=gld + '$OPT $DYNLINK $STATIC $STRIP -L. -o $EXE $RES';
ExeCmd[2]:=solaris_ld + '$OPT $DYNLINK $STATIC $STRIP -L . -o $EXE $RESDATA';
DllCmd[1]:=gld + '$OPT $INITFINI -shared -L. -o $EXE $RES';
- DllCmd[2]:='gstrip --strip-unneeded $EXE';
+ DllCmd[2]:='strip --strip-unneeded $EXE';
DllCmd[3]:=solaris_ld + '$OPT $INITFINI -M $VERSIONFILE -G -Bdynamic -L. -o $EXE $RESDATA';
DynamicLinker:=''; { Gnu uses the default }
Glibc21:=false;
|