annotate src/s/sco5.h @ 88286:32c6e924fc14

*** empty log message ***
author Alex Schroeder <alex@gnu.org>
date Mon, 23 Jan 2006 16:54:26 +0000
parents d7ddb3e565de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* System description file for SCO 3.2v5.
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
2 Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 any later version.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
15742
80562f089595 Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 15464
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to the
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
18 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
19 Boston, MA 02110-1301, USA. */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
15464
230bc36941bf entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 15463
diff changeset
21 /* Contributed by Mark Diekhans <markd@grizzly.com>. */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /* SCO is sort of like SVR3. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 #include "usg5-3.h"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 #define SCO_R5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 I am assuming that (at least most of) the tests for usg-unix-v
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 do the right thing for sco3.2v4 also. Things that *might* be wrong
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 as a result of turning off these lines include the values of
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ange-ftp-remote-shell-file-name (now remsh)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 dired-chown-program (now just chown)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 lpr-command (now lp)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 nntp-buggy-select (now t)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 rmail-spool-directory (now /usr/mail?)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 and the actions of the function print-region-1. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 /* SYSTEM_TYPE should indicate the kind of system you are using. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #undef SYSTEM_TYPE
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 #define SYSTEM_TYPE "SCO 3.2v4"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 /* SCO supports job control. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 #undef NOMULTIPLEJOBS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 /* SCO has termios. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 #define HAVE_TERMIOS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 /* SCO has ptys with unusual names. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 #define HAVE_PTYS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 #define PTY_ITERATION \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 for (i = 0; ; i++)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 #define PTY_NAME_SPRINTF \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 sprintf (pty_name, "/dev/ptyp%d", i);
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 #define PTY_TTY_NAME_SPRINTF \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 sprintf (pty_name, "/dev/ttyp%d", i);
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 /* Sockets are an option on SCO. If you have X, you have them.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 They also exist if you have TCP, but we don't know how to test
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 for that. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 #ifdef HAVE_X_WINDOWS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 #define HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 #ifndef __GNUC__
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 #define LINKER ld
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 /* This is safe since we already assumed HAVE_SOCKET
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 if using X windows. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 #undef LIBX11_SYSTEM
42414
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
73 #define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
74 #ifdef MOTIF
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
75 # define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
76 #else /* ndef MOTIF */
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
77 # define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
78 #endif /* ndef MOTIF */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 #undef LIB_X11_LIB
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 #define LIB_X11_LIB -lX11
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 #define HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 #ifdef HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 #define LIBS_SYSTEM -lsocket -lPW
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 #ifndef HAVE_GETTIMEOFDAY
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 #define HAVE_GETTIMEOFDAY
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 /* This enables configure to tell that we have alloca. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 #ifndef LIBS_SYSTEM
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 #define LIBS_SYSTEM -lPW
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 #ifdef HAVE_X11R5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 /* configure can't get this right linking fails unless -lsocket is used. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 #undef HAVE_XSCREENNUMBEROFSCREEN
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 #define HAVE_XSCREENNUMBEROFSCREEN
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 /* We don't have -loldX, and we don't need it. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 #define LIB_XMENU_LIB
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 /* SCO does have TIOCGWINSZ. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 #undef BROKEN_TIOCGWINSZ
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 #define NEED_PTEM_H
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 /* We need to link with crt1.o and crtn.o. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 #define START_FILES pre-crt0.o /lib/crt1.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 #define LIB_STANDARD -lc /lib/crtn.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 /* Send signals to subprocesses by "typing" signal chars at them. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 #define SIGNALS_VIA_CHARACTERS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 /* Specify program for etc/fakemail to run. Define SMAIL if you are
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 using smail, don't for MMDF. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 #ifdef SMAIL
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 #else
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 #define PREFER_VSUSP
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131
15857
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
132 /* SCO Unix has Posix signals, but in 3.2.5 something broken that causes
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
133 * all keyboard-quit signals to be lost after the first one. */
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
134 #undef POSIX_SIGNALS
40687
1b70ac487744 Fix last change.
Eli Zaretskii <eliz@gnu.org>
parents: 40678
diff changeset
135
1b70ac487744 Fix last change.
Eli Zaretskii <eliz@gnu.org>
parents: 40678
diff changeset
136 #define SIGMASKTYPE long
42414
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
137
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
138 #ifndef NOT_C_CODE
40678
eb81426b8a59 (sigprocmask_set): Declare as extern SIGMASKTYPE.
Eli Zaretskii <eliz@gnu.org>
parents: 31227
diff changeset
139 extern SIGMASKTYPE sigprocmask_set;
42414
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
140 #endif /* not NOT_C_CODE */
0657fd32e7f8 (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
Richard M. Stallman <rms@gnu.org>
parents: 40687
diff changeset
141
29810
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 28592
diff changeset
142 #define sigblock(sig) \
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 28592
diff changeset
143 (sigprocmask_set = SIGEMPTYMASK | (sig), \
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 28592
diff changeset
144 sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
29970
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
145 #define sigunblock(sig) \
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
146 (sigprocmask_set = SIGFULLMASK & ~(sig), \
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
147 sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL))
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 #ifndef PENDING_OUTPUT_COUNT
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 44601
diff changeset
153 /* Use ELF and get real shared libraries */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 #undef COFF
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 #define ELF
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 #define UNEXEC unexelf.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159
16233
96a698bb6c17 (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC.
Richard M. Stallman <rms@gnu.org>
parents: 16161
diff changeset
160 #ifndef __GNUC__
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 #define C_SWITCH_SYSTEM -belf
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 #define LD_SWITCH_SYSTEM -belf
16233
96a698bb6c17 (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC.
Richard M. Stallman <rms@gnu.org>
parents: 16161
diff changeset
163 #endif
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 /* Don't disable static function, as SCO's header files have some.*/
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 #undef static
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 #undef START_FILES
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 #undef LIB_STANDARD
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
25032
ae314c884db0 (NARROWPROTO): New.
Gerd Moellmann <gerd@gnu.org>
parents: 19853
diff changeset
172
ae314c884db0 (NARROWPROTO): New.
Gerd Moellmann <gerd@gnu.org>
parents: 19853
diff changeset
173 #define NARROWPROTO 1
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
174
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
175 /* arch-tag: 930541b5-52d9-4cbe-b73c-f4c72091f5df
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49600
diff changeset
176 (do not change this comment) */