Commit | Line | Data |
---|---|---|
20c428fd JB |
1 | /* machine description file for Bull SPS-7. |
2 | Copyright (C) 1986 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GNU Emacs. | |
5 | ||
6 | GNU Emacs is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
17385adc | 8 | the Free Software Foundation; either version 2, or (at your option) |
20c428fd JB |
9 | any later version. |
10 | ||
11 | GNU Emacs is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GNU Emacs; see the file COPYING. If not, write to | |
18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | ||
20 | ||
21 | /* The following line tells the configuration script what sort of | |
22 | operating system this machine is likely to run. | |
23 | USUAL-OPSYS="usg5-2" */ | |
24 | ||
74d3f806 KH |
25 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
26 | is the most significant byte. */ | |
27 | ||
28 | #define WORDS_BIG_ENDIAN | |
29 | ||
20c428fd JB |
30 | /* Say this machine is a 68000 */ |
31 | ||
32 | #ifndef m68000 | |
33 | #define m68000 | |
34 | #endif | |
35 | ||
36 | #define sps7 | |
37 | ||
38 | /* Use type int rather than a union, to represent Lisp_Object */ | |
39 | ||
40 | #define NO_UNION_TYPE | |
41 | ||
42 | /* XINT must explicitly sign-extend */ | |
43 | ||
44 | #define EXPLICIT_SIGN_EXTEND | |
45 | ||
46 | /* Data type of load average, as read out of kmem. */ | |
eb8c3be9 | 47 | /* Suspect there is something weird about this machine, so turn it off. */ |
20c428fd JB |
48 | |
49 | /* #define LOAD_AVE_TYPE long */ | |
50 | ||
51 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
52 | ||
53 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | |
54 | \f | |
55 | #define SMX | |
56 | #define V3x | |
57 | ||
20c428fd JB |
58 | /* |
59 | * Define HAVE_PTYS if the system supports pty devices. | |
60 | */ | |
61 | ||
62 | #define HAVE_PTYS | |
63 | ||
64 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
65 | ||
66 | #define HAVE_SOCKETS | |
67 | ||
68 | /* Have the socketpair call | |
69 | */ | |
70 | ||
71 | #define SKTPAIR | |
72 | ||
73 | /* Define CLASH_DETECTION if you want lock files to be written | |
74 | so that Emacs can tell instantly when you try to modify | |
75 | a file that someone else has modified in his Emacs. */ | |
76 | ||
77 | #define CLASH_DETECTION | |
78 | ||
79 | /* Use Berkeley style interface to nlist */ | |
80 | ||
81 | #define NLIST_STRUCT | |
82 | ||
83 | /* Define this to cause -N to be passed to ld. This is needed | |
84 | * in uniplus because of its funny memory space layout. | |
85 | * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything. | |
86 | */ | |
87 | ||
88 | #define LD_SWITCH_MACHINE -N -T32 -e __start | |
89 | ||
90 | /* If you are compiling for a 68020, then use -lc32 else use -lc */ | |
91 | ||
92 | #define LIB_STANDARD -lc32 | |
93 | ||
94 | /* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */ | |
95 | ||
96 | #define LIBS_MACHINE -linet32 | |
97 | ||
98 | /* Use -T32 for 68020, -T16 otherwise */ | |
99 | ||
100 | #define C_SWITCH_MACHINE -T32 | |
101 | ||
102 | /* | |
103 | Here we assume that signal.h is included before config.h | |
104 | so that we can override it here. */ | |
105 | ||
106 | #undef SIGIO | |
107 | ||
20c428fd JB |
108 | /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */ |
109 | ||
110 | #define ASS as32 | |
111 | ||
112 | #ifdef V3x | |
113 | #define EXEC_MAGIC 0x10b | |
114 | #define SEGMENT_MASK (NBPS-1) | |
115 | #define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\ | |
116 | f_ohdr.stsize = 0; | |
117 | #endif |