Mercurial > hg > xemacs-beta
comparison src/s/dgux.h @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 376386a54a3c |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
86 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below | 86 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below |
87 5.4.1 the undump MUST be done on a local file system, or the kernel will | 87 5.4.1 the undump MUST be done on a local file system, or the kernel will |
88 panic. ELF executables have the advantage of using shared libraries, | 88 panic. ELF executables have the advantage of using shared libraries, |
89 while COFF executables will still work on 4.2x systems. */ | 89 while COFF executables will still work on 4.2x systems. */ |
90 | 90 |
91 #define UNEXEC unexelf.o | 91 #define UNEXEC "unexelf.o" |
92 | 92 |
93 /* This makes sure that all segments in the executable are undumped, | 93 /* This makes sure that all segments in the executable are undumped, |
94 not just text, data, and bss. In the case of Mxdb and shared | 94 not just text, data, and bss. In the case of Mxdb and shared |
95 libraries, additional information is stored in other sections. | 95 libraries, additional information is stored in other sections. |
96 It does not hurt to have this defined if you don't use Mxdb or | 96 It does not hurt to have this defined if you don't use Mxdb or |
174 #ifndef __GNUC__ | 174 #ifndef __GNUC__ |
175 #error You must use GCC to compile Emacs on DGUX | 175 #error You must use GCC to compile Emacs on DGUX |
176 #endif | 176 #endif |
177 | 177 |
178 #define ORDINARY_LINK | 178 #define ORDINARY_LINK |
179 #define START_FILES pre-crt0.o | 179 #define START_FILES "pre-crt0.o" |
180 #define LIB_GCC /usr/lib/gcc/libgcc.a | 180 #define LIB_GCC "/usr/lib/gcc/libgcc.a" |
181 | 181 |
182 #ifdef _M88KBCS_TARGET | 182 #ifdef _M88KBCS_TARGET |
183 /* Karl Berry says: the environment | 183 /* Karl Berry says: the environment |
184 recommended by gcc (88/open, a.k.a. m88kbcs) doesn't support some system | 184 recommended by gcc (88/open, a.k.a. m88kbcs) doesn't support some system |
185 functions, and gcc doesn't make it easy to switch environments. */ | 185 functions, and gcc doesn't make it easy to switch environments. */ |
205 if (c == 'p') \ | 205 if (c == 'p') \ |
206 sprintf (pty_name, "/dev/tty%c%d", c, i); \ | 206 sprintf (pty_name, "/dev/tty%c%d", c, i); \ |
207 else \ | 207 else \ |
208 sprintf (pty_name, "/dev/tty%c%x", c, i); | 208 sprintf (pty_name, "/dev/tty%c%x", c, i); |
209 | 209 |
210 #define C_DEBUG_SWITCH -g | 210 #define C_DEBUG_SWITCH "-g" |
211 | 211 |
212 #else /* not COFF */ | 212 #else /* not COFF */ |
213 | 213 |
214 /* We are generating ELF object format. This makes the system more | 214 /* We are generating ELF object format. This makes the system more |
215 SVR4 like. */ | 215 SVR4 like. */ |
254 fatal ("ioctl I_PUSH ldterm", errno); \ | 254 fatal ("ioctl I_PUSH ldterm", errno); \ |
255 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | 255 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ |
256 fatal ("ioctl I_PUSH ttcompat", errno); | 256 fatal ("ioctl I_PUSH ttcompat", errno); |
257 | 257 |
258 #ifdef __GNUC__ | 258 #ifdef __GNUC__ |
259 #define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard | 259 #define C_DEBUG_SWITCH "-g -V2 -mversion-03.00 -mstandard" |
260 #endif | 260 #endif |
261 | 261 |
262 #endif /* ELF */ | 262 #endif /* ELF */ |
263 | 263 |
264 /* Extra stuff which probably should be someplace else but is here out | 264 /* Extra stuff which probably should be someplace else but is here out |
265 of expediency. */ | 265 of expediency. */ |
266 | 266 |
267 #define LIB_X11_LIB -lX11 | 267 #define LIB_X11_LIB "-lX11" |
268 #define LIB_MOTIF -lXm -lgen | 268 #define LIB_MOTIF "-lXm -lgen" |
269 | 269 |
270 /* Formerly "BSD_PGRPS" */ | 270 /* Formerly "BSD_PGRPS" */ |
271 | 271 |
272 #define SIGIO_REQUIRES_SEPARATE_PROCESS_GROUP | 272 #define SIGIO_REQUIRES_SEPARATE_PROCESS_GROUP |