251 |
/* alane@wozzle.linet.org says that -lipc is not a separate library, |
/* alane@wozzle.linet.org says that -lipc is not a separate library, |
252 |
since libc-4.4.1. So -lipc was deleted. */ |
since libc-4.4.1. So -lipc was deleted. */ |
253 |
#define LIBS_SYSTEM |
#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 */ |
257 |
#define C_SWITCH_SYSTEM -D_BSD_SOURCE |
#define C_SWITCH_SYSTEM -D_BSD_SOURCE |
258 |
#endif |
#endif |
259 |
|
|
335 |
/* Tell that garbage collector that setjmp is known to save all |
/* Tell that garbage collector that setjmp is known to save all |
336 |
registers relevant for conservative garbage collection in the |
registers relevant for conservative garbage collection in the |
337 |
jmp_buf. */ |
jmp_buf. */ |
338 |
/* m68k and alpha aren't tested, but there are Debian packages for SCM |
/* Not all the architectures are tested, but there are Debian packages |
339 |
and/or Guile on them, so the technique must work. */ |
for SCM and/or Guile on them, so the technique must work. See also |
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. */ |
343 |
/* Don't use #cpu here since in newest development versions of GCC, |
/* Don't use #cpu here since in newest development versions of GCC, |
344 |
we must call cpp with -traditional, and that disables #cpu. */ |
we must call cpp with -traditional, and that disables #cpu. */ |
345 |
|
|
346 |
#if defined __i386__ || defined __sparc__ || defined __mc68000__ || defined __alpha__ |
#if defined __i386__ || defined __sparc__ || defined __mc68000__ \ |
347 |
|
|| defined __alpha__ || defined __mips__ || defined __s390__ \ |
348 |
|
|| defined __arm__ || defined __powerpc__ |
349 |
#define GC_SETJMP_WORKS 1 |
#define GC_SETJMP_WORKS 1 |
350 |
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
351 |
#ifdef __mc68000__ |
#ifdef __mc68000__ |