Mercurial > hg > xemacs-beta
comparison src/m/tekxd88.h @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:28:15 +0200 |
parents | |
children | abe6d1db359e |
comparison
equal
deleted
inserted
replaced
427:0a0253eac470 | 428:3ecd8885ac67 |
---|---|
1 /* Configuration file for the Tektronix XD88 running UTekV 3.2e, | |
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. | |
3 You probably need to use gnu make (version 3.63 or higher.) | |
4 Copyright (C) 1993 Free Software Foundation, Inc. | |
5 | |
6 This file is part of GNU Emacs. | |
7 | |
8 GNU Emacs is free software; you can redistribute it and/or modify | |
9 it under the terms of the GNU General Public License as published by | |
10 the Free Software Foundation; either version 2, or (at your option) | |
11 any later version. | |
12 | |
13 GNU Emacs is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with XEmacs; see the file COPYING. If not, write to | |
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
21 Boston, MA 02111-1307, USA. */ | |
22 | |
23 /* Synched up with: FSF 19.31. */ | |
24 | |
25 /* Define WORD_MACHINE if addresses and such have | |
26 * to be corrected before they can be used as byte counts. */ | |
27 /* #define WORD_MACHINE */ | |
28 | |
29 /* Now define a symbol for the cpu type, if your compiler | |
30 does not define it automatically: | |
31 Ones defined so far include vax, m68000, ns16000, pyramid, | |
32 orion, tahoe, APOLLO and many others */ | |
33 #ifndef m88000 /* Some 88k C compilers already define this */ | |
34 #define m88000 | |
35 #endif | |
36 | |
37 /* Define how to take a char and sign-extend into an int. | |
38 On machines where char is signed, this is a no-op. */ | |
39 #define SIGN_EXTEND_CHAR(c) (c) | |
40 | |
41 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
42 the bit field into an int. In other words, if bit fields | |
43 are always unsigned. | |
44 | |
45 If you use NO_UNION_TYPE, this flag does not matter. */ | |
46 /* #define EXPLICIT_SIGN_EXTEND */ | |
47 | |
48 /* Data type of load average, as read out of kmem. */ | |
49 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */ | |
50 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
51 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ | |
52 | |
53 /* Define CANNOT_DUMP on machines where unexec does not work. | |
54 Then the function dump-emacs will not be defined | |
55 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
56 /*#define CANNOT_DUMP*/ | |
57 | |
58 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
59 pure and impure space as loaded can vary, and even their | |
60 relative order cannot be relied on. | |
61 | |
62 Otherwise Emacs assumes that text space precedes data space, | |
63 numerically. */ | |
64 /* #define VIRT_ADDR_VARIES */ | |
65 | |
66 /* Define NO_REMAP if memory segmentation makes it not work well | |
67 to change the boundary between the text section and data section | |
68 when Emacs is dumped. If you define this, the preloaded Lisp | |
69 code will not be sharable; but that's better than failing completely. */ | |
70 #define NO_REMAP | |
71 | |
72 /* Define C_ALLOCA if this machine does not support a true alloca | |
73 and the one written in C should be used instead. | |
74 Define HAVE_ALLOCA to say that the system provides a properly | |
75 working alloca function and it should be used. | |
76 Define neither one if an assembler-language alloca | |
77 in the file alloca.s should be used. */ | |
78 #ifdef __GNUC__ | |
79 # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ | |
80 # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ | |
81 # undef C_ALLOCA | |
82 # define C_OPTIMIZE_SWITCH "-O2" | |
83 #else /* not __GNUC__ */ | |
84 # undef HAVE_ALLOCA | |
85 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ | |
86 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ | |
87 # define C_OPTIMIZE_SWITCH "-O" | |
88 #endif /* __GNUC__ */ | |
89 | |
90 #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */ | |
91 #undef LIBX11_SYSTEM | |
92 | |
93 #define HAVE_PTYS /* XD88 SysV has PTYs. */ | |
94 #define SYSV_PTYS /* Requires <termios.h> */ | |
95 | |
96 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */ | |
97 /* -X18 means do not allocate programmer-defined local variables to a | |
98 register unless they are declared register. (Copied from perl-4.036 | |
99 Green Hills C hints file. Might be needed for setjmp, I don't know.) */ | |
100 # define C_SWITCH_MACHINE "-X18" | |
101 /* We need /lib/default.ld so that /bin/ld can read its link directives. */ | |
102 # define LD_SWITCH_SYSTEM "/lib/default.ld" | |
103 #endif /* ghs */ | |
104 | |
105 /* We need this to get dumping to work */ | |
106 #define KEEP_OLD_TEXT_SCNPTR |