Commit | Line | Data |
---|---|---|
20c428fd | 1 | /* machine description file for WICAT machines. |
aaef169d TTN |
2 | Copyright (C) 1986, 2002, 2003, 2004, 2005, |
3 | 2006 Free Software Foundation, Inc. | |
20c428fd JB |
4 | |
5 | This file is part of GNU Emacs. | |
6 | ||
7 | GNU Emacs is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
17385adc | 9 | the Free Software Foundation; either version 2, or (at your option) |
20c428fd JB |
10 | any later version. |
11 | ||
12 | GNU Emacs is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GNU Emacs; see the file COPYING. If not, write to | |
364c38d3 LK |
19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 | Boston, MA 02110-1301, USA. */ | |
20c428fd JB |
21 | |
22 | ||
177c0ea7 | 23 | /* The following line tells the configuration script what sort of |
20c428fd JB |
24 | operating system this machine is likely to run. |
25 | USUAL-OPSYS="usg5-2" */ | |
26 | ||
74d3f806 KH |
27 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
28 | is the most significant byte. */ | |
29 | ||
30 | #define WORDS_BIG_ENDIAN | |
31 | ||
20c428fd JB |
32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
33 | * group of arguments and treat it as an array of the arguments. */ | |
34 | ||
35 | #undef NO_ARG_ARRAY | |
36 | ||
37 | /* Define WORD_MACHINE if addresses and such have | |
38 | * to be corrected before they can be used as byte counts. */ | |
39 | ||
40 | #undef WORD_MACHINE | |
41 | ||
20c428fd JB |
42 | /* Now define a symbol for the cpu type, if your compiler |
43 | does not define it automatically: | |
44 | vax, m68000, ns16000 are the ones defined so far. */ | |
45 | ||
46 | #ifndef m68000 | |
47 | #define m68000 | |
48 | #endif | |
49 | ||
50 | /* This flag is used only in alloca.s. */ | |
51 | #define WICAT | |
52 | ||
53 | /* Use type int rather than a union, to represent Lisp_Object */ | |
54 | ||
55 | #define NO_UNION_TYPE | |
56 | ||
57 | /* XINT must explicitly sign-extend */ | |
58 | ||
59 | #define EXPLICIT_SIGN_EXTEND | |
60 | ||
61 | /* Data type of load average, as read out of kmem. */ | |
62 | ||
63 | #undef LOAD_AVE_TYPE | |
64 | ||
65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
66 | ||
67 | #undef LOAD_AVE_CVT | |
68 | ||
69 | /* Define CANNOT_DUMP on machines where unexec does not work. | |
70 | Then the function dump-emacs will not be defined | |
71 | and temacs will do (load "loadup") automatically unless told otherwise. */ | |
72 | ||
73 | #undef CANNOT_DUMP | |
74 | ||
75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
76 | pure and impure space as loaded can vary, and even their | |
77 | relative order cannot be relied on. | |
78 | ||
79 | Otherwise Emacs assumes that text space precedes data space, | |
80 | numerically. */ | |
81 | ||
82 | #undef VIRT_ADDR_VARIES | |
83 | ||
20c428fd JB |
84 | /* Define NO_REMAP if memory segmentation makes it not work well |
85 | to change the boundary between the text section and data section | |
86 | when Emacs is dumped. If you define this, the preloaded Lisp | |
87 | code will not be sharable; but that's better than failing completely. */ | |
88 | ||
89 | #undef NO_REMAP | |
90 | ||
91 | /* For WICAT, define TAHOE_REGISTER_BUG if you have a pre-4.2 C compiler */ | |
92 | ||
93 | #define TAHOE_REGISTER_BUG | |
94 | ||
95 | /* pagesize definition */ | |
96 | ||
97 | #define EXEC_PAGESIZE 0x1000 | |
98 | ||
99 | /* Delete this for WICAT sys V releases before 2.0. */ | |
100 | ||
101 | #define LIB_STANDARD -lc-nofp | |
102 | ||
103 | /* Special magic number */ | |
104 | ||
105 | #define EXEC_MAGIC MC68ROMAGIC | |
106 | ||
107 | /* Special switches to give to ld. */ | |
108 | ||
109 | #define LD_SWITCH_MACHINE -e __start -N | |
110 | ||
111 | /* Sigh...cannot define this for WICAT cuz 0 length memcpy blows chunks */ | |
112 | ||
113 | #undef BSTRING | |
114 | ||
20c428fd JB |
115 | /* |
116 | * Define optimflags if you want to optimize. | |
117 | * - Set to null string for pre-4.2 C compiler | |
118 | * - Set to "-O -Wopt,-O-f" for 4.2 | |
119 | */ | |
120 | ||
121 | #define C_OPTIMIZE_SWITCH /* -O -Wopt,-O-f */ | |
122 | ||
123 | /* For WICAT version supporting PTYs and select (currently internal only) */ | |
124 | ||
125 | #ifdef HAVE_PTYS | |
126 | #undef FIRST_PTY_LETTER | |
127 | #define FIRST_PTY_LETTER 'q' | |
128 | #endif | |
129 | ||
130 | /* there is a select() in libcurses.a that causes a conflict so use termlib */ | |
131 | #ifdef HAVE_SELECT | |
132 | #undef TERMINFO | |
133 | #define LIBS_TERMCAP select.o -ltermlib | |
134 | #endif | |
ab5796a9 MB |
135 | |
136 | /* arch-tag: b181c512-0275-4d25-9bbc-be0c8ca7bcad | |
137 | (do not change this comment) */ |