This commit was generated by cvs2svn to compensate for changes in r1383,
[chise/xemacs-chise.git.1] / src / m / sps7.h
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
8 the Free Software Foundation; either version 2, or (at your option)
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 XEmacs; see the file COPYING.  If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Synched up with: FSF 19.31. */
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"  */
26
27 /* Say this machine is a 68000 */
28
29 #ifndef m68000
30 #define m68000
31 #endif
32
33 #define sps7  
34
35 /* Data type of load average, as read out of kmem.  */
36 /* Suspect there is something weird about this machine, so turn it off.  */
37
38 /* #define LOAD_AVE_TYPE long */
39
40 /* Convert that into an integer that is 100 for a load average of 1.0  */
41
42 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
43 \f
44 #define SMX
45 #define V3x
46
47 /*
48  *      Define HAVE_PTYS if the system supports pty devices.
49  */
50
51 #define HAVE_PTYS
52
53 /*      Have the socketpair call
54 */
55
56 #define SKTPAIR
57
58 /* Define this to cause -N to be passed to ld.  This is needed
59  *  in uniplus because of its funny memory space layout.
60  * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything.
61  */
62
63 #define LD_SWITCH_MACHINE "-N -T32 -e __start"
64
65 /* If you are compiling for a 68020, then use -lc32 else use -lc */
66
67 #define LIB_STANDARD "-lc32"
68
69 /* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */
70
71 #define LIBS_MACHINE "-linet32"
72
73 /* Use -T32 for 68020, -T16 otherwise */
74
75 #define C_SWITCH_MACHINE "-T32"
76
77 #define BROKEN_SIGIO
78
79 /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
80
81 #define ASS as32
82
83 #ifdef V3x
84 #define EXEC_MAGIC 0x10b
85 #define SEGMENT_MASK (NBPS-1)
86 #define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\
87  f_ohdr.stsize = 0;
88 #endif