Commit | Line | Data |
---|---|---|
20c428fd JB |
1 | /* machine description file for AT&T UNIX PC model 7300 |
2 | Copyright (C) 1986 Free Software Foundation, Inc. | |
3 | Modified for this machine by mtxinu!rtech!gonzo!daveb | |
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 | |
3b7ad313 EN |
19 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
20 | Boston, MA 02111-1307, USA. */ | |
20c428fd JB |
21 | |
22 | ||
23 | /* The following line tells the configuration script what sort of | |
24 | operating system this machine is likely to run. | |
25 | USUAL-OPSYS="usg5-2-2" */ | |
26 | ||
27 | /* Supposedly now these machines have flexnames. | |
28 | ||
29 | /* # define SHORTNAMES */ | |
30 | ||
31 | ||
74d3f806 KH |
32 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
33 | is the most significant byte. */ | |
34 | ||
35 | #define WORDS_BIG_ENDIAN | |
36 | ||
20c428fd JB |
37 | /* XINT must explicitly sign-extend */ |
38 | ||
39 | #define EXPLICIT_SIGN_EXTEND | |
40 | ||
20c428fd JB |
41 | /* Use type int rather than a union, to represent Lisp_Object */ |
42 | ||
43 | #define NO_UNION_TYPE | |
44 | ||
45 | /* Now define a symbol for the cpu type, if your compiler | |
46 | does not define it automatically: | |
47 | vax, m68000, ns16000 are the ones defined so far. */ | |
48 | ||
49 | # ifndef mc68k | |
50 | # define mc68k | |
51 | # endif | |
52 | #ifndef m68k | |
53 | #define m68k | |
54 | #endif | |
55 | ||
56 | /* Cause crt0.c to define errno. */ | |
57 | ||
58 | #define NEED_ERRNO | |
59 | ||
60 | /* Data type of load average, as read out of kmem. */ | |
61 | /* These are commented out since it is not supported by this machine. */ | |
62 | ||
63 | /* #define LOAD_AVE_TYPE long */ | |
64 | ||
65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
66 | ||
67 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | |
68 | ||
e3a7436e JB |
69 | #ifdef __GNUC__ |
70 | ||
71 | #define HAVE_ALLOCA | |
72 | ||
73 | #else | |
74 | ||
20c428fd | 75 | #define SWITCH_ENUM_BUG |
e3a7436e JB |
76 | #define C_ALLOCA |
77 | #define STACK_DIRECTION -1 | |
78 | ||
79 | #endif | |
80 | ||
81 | /* If you have the PD pty driver installed, uncomment the following line. */ | |
82 | /* #define HAVE_PTYS */ | |
83 | ||
84 | #define HAVE_SYSVIPC | |
e3a7436e JB |
85 | |
86 | /* We don't have memmove. */ | |
87 | #define memmove(d, s, n) safe_bcopy (s, d, n) | |
20c428fd JB |
88 | |
89 | /* These three lines were new in 18.50. They were said to permit | |
90 | a demand-paged executable, but someone else says they don't work. | |
91 | Someone else says they do. They didn't work because errno was an | |
92 | initialized variable in crt0.c, and because of %splimit (also therein), | |
93 | both of which have been fixed now. */ | |
94 | #define SECTION_ALIGNMENT 0x03ff | |
95 | #define SEGMENT_MASK 0xffff | |
96 | #define LD_SWITCH_MACHINE -z | |
e3a7436e JB |
97 | |
98 | /* Insist on using cc when compiling this. GCC may have been | |
99 | configured to use GAS syntax, which causes problems. */ | |
df208aaf | 100 | #define CRT0_COMPILE cc -c -O -Demacs |