Mercurial > emacs
comparison src/s/gnu-linux.h @ 49413:8aaa2f3ae722
(GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
architectures.
| author | Dave Love <fx@gnu.org> |
|---|---|
| date | Fri, 24 Jan 2003 12:22:01 +0000 |
| parents | a62b272dc382 |
| children | cf8a7f2ef2c3 d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
| 49412:0c9686a92a39 | 49413:8aaa2f3ae722 |
|---|---|
| 249 #define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term | 249 #define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term |
| 250 #else | 250 #else |
| 251 /* alane@wozzle.linet.org says that -lipc is not a separate library, | 251 /* alane@wozzle.linet.org says that -lipc is not a separate library, |
| 252 since libc-4.4.1. So -lipc was deleted. */ | 252 since libc-4.4.1. So -lipc was deleted. */ |
| 253 #define LIBS_SYSTEM | 253 #define LIBS_SYSTEM |
| 254 /* _BSD_SOURCE is redundant, at least in glibc2, since we define | |
| 255 _GNU_SOURCE. Left in in case it's relevant to libc5 systems and | |
| 256 anyone's still using Emacs on those. --fx 2002-12-14 */ | |
| 254 #define C_SWITCH_SYSTEM -D_BSD_SOURCE | 257 #define C_SWITCH_SYSTEM -D_BSD_SOURCE |
| 255 #endif | 258 #endif |
| 256 | 259 |
| 257 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ | 260 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ |
| 258 #define LIB_MOTIF -lXm -lXpm | 261 #define LIB_MOTIF -lXm -lXpm |
| 330 #endif | 333 #endif |
| 331 | 334 |
| 332 /* Tell that garbage collector that setjmp is known to save all | 335 /* Tell that garbage collector that setjmp is known to save all |
| 333 registers relevant for conservative garbage collection in the | 336 registers relevant for conservative garbage collection in the |
| 334 jmp_buf. */ | 337 jmp_buf. */ |
| 335 /* m68k and alpha aren't tested, but there are Debian packages for SCM | 338 /* Not all the architectures are tested, but there are Debian packages |
| 336 and/or Guile on them, so the technique must work. */ | 339 for SCM and/or Guile on them, so the technique must work. See also |
| 337 | 340 comments in alloc.c concerning setjmp and gcc. Fixme: it's |
| 341 probably safe to make this conditional just on GCC, except for ia64 | |
| 342 register window-flushing. */ | |
| 338 /* Don't use #cpu here since in newest development versions of GCC, | 343 /* Don't use #cpu here since in newest development versions of GCC, |
| 339 we must call cpp with -traditional, and that disables #cpu. */ | 344 we must call cpp with -traditional, and that disables #cpu. */ |
| 340 | 345 |
| 341 #if defined __i386__ || defined __sparc__ || defined __mc68000__ || defined __alpha__ | 346 #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ |
| 347 || defined __alpha__ || defined __mips__ || defined __s390__ \ | |
| 348 || defined __arm__ || defined __powerpc__ | |
| 342 #define GC_SETJMP_WORKS 1 | 349 #define GC_SETJMP_WORKS 1 |
| 343 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 350 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 344 #ifdef __mc68000__ | 351 #ifdef __mc68000__ |
| 345 #define GC_LISP_OBJECT_ALIGNMENT 2 | 352 #define GC_LISP_OBJECT_ALIGNMENT 2 |
| 346 #endif | 353 #endif |
