annotate src/s/sco5.h @ 82793:baa90f502c46

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