*** empty log message ***
[emacs.git] / src / m / delta.h
blob8dda4fd213d5ac0a15addc7d762d5760b17b7069
1 /* machine description file for the Motorola delta running System V.3.
2 tested on sys1147 (mvme147 - based system).
3 Copyright (C) 1986 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
7 GNU Emacs is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY. No author or distributor
9 accepts responsibility to anyone for the consequences of using it
10 or for whether it serves any particular purpose or works at all,
11 unless he says so in writing. Refer to the GNU Emacs General Public
12 License for full details.
14 Everyone is granted permission to copy, modify and redistribute
15 GNU Emacs, but only under the conditions described in the
16 GNU Emacs General Public License. A copy of this license is
17 supposed to have been given to you along with GNU Emacs so you
18 can know your rights and responsibilities. It should be in a
19 file named COPYING. Among other things, the copyright notice
20 and this notice must be preserved on all copies. */
23 /* The following line tells the configuration script what sort of
24 operating system this machine is likely to run.
25 USUAL-OPSYS="usg5-3" */
27 /* The following three symbols give information on
28 the size of various data types. */
30 #define SHORTBITS 16 /* Number of bits in a short */
32 #define INTBITS 32 /* Number of bits in an int */
34 #define LONGBITS 32 /* Number of bits in a long */
36 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
37 is the most significant byte. */
39 #define BIG_ENDIAN
41 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
42 * group of arguments and treat it as an array of the arguments. */
44 /* #define NO_ARG_ARRAY */
46 /* Define WORD_MACHINE if addresses and such have
47 * to be corrected before they can be used as byte counts. */
49 /* #define WORD_MACHINE */
51 /* Define how to take a char and sign-extend into an int.
52 On machines where char is signed, this is a no-op. */
54 #define SIGN_EXTEND_CHAR(c) (c)
56 /* Now define a symbol for the cpu type, if your compiler
57 does not define it automatically:
58 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
59 are the ones defined so far. */
60 #define m68000
61 #define NO_REMAP
63 #define HAVE_SYSVIPC
65 #define HAVE_PTYS
66 #define SYSV_PTYS
68 /* Use type int rather than a union, to represent Lisp_Object */
69 /* This is desirable for most machines. */
71 #define NO_UNION_TYPE
72 #define SWITCH_ENUM_BUG
73 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
74 the 24-bit bit field into an int. In other words, if bit fields
75 are always unsigned.
77 If you use NO_UNION_TYPE, this flag does not matter. */
79 #define EXPLICIT_SIGN_EXTEND
81 /* Data type of load average, as read out of kmem. */
83 /* #define LOAD_AVE_TYPE long */
85 /* Convert that into an integer that is 100 for a load average of 1.0 */
87 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
89 /* Define CANNOT_DUMP on machines where unexec does not work.
90 Then the function dump-emacs will not be defined
91 and temacs will do (load "loadup") automatically unless told otherwise. */
93 /* #define CANNOT_DUMP */
95 /* Define VIRT_ADDR_VARIES if the virtual addresses of
96 pure and impure space as loaded can vary, and even their
97 relative order cannot be relied on.
99 Otherwise Emacs assumes that data space precedes text space,
100 numerically. */
102 /* #define VIRT_ADDR_VARIES */
104 /* Define C_ALLOCA if this machine does not support a true alloca
105 and the one written in C should be used instead.
106 Define HAVE_ALLOCA to say that the system provides a properly
107 working alloca function and it should be used.
108 Define neither one if an assembler-language alloca
109 in the file alloca.s should be used. */
111 /*#define C_ALLOCA */
112 /*#define HAVE_ALLOCA */
114 #ifdef __GNUC__
115 /* easy. use builtin one. also be sure that no other ones are tried out. */
116 # define alloca __builtin_alloca
117 # define HAVE_ALLOCA
118 # undef C_ALLOCA
119 #else
120 # ifdef C_ALLOCA
121 # define STACK_DIRECTION (-1) /* C_ALLOCA needs to know about stack. */
122 # else /* C_ALLOCA */
123 # ifndef HAVE_ALLOCA
124 # define BAT_ALLOCA /* if not in library, alloca.s needs this. */
125 # endif /* HAVE_ALLOCA */
126 # endif /* C_ALLOCA */
127 #endif /* __GNUC__ */
129 /* The standard C library is -lcieee, not -lc.
130 Also use the PW library, which contains alloca.
131 DO NOT USE -lPW. That version of alloca is broken, at last until version
132 SVR3V5.1 . -riku@field.fi */
134 #define LIB_STANDARD -lc
136 #define LIBS_TERMCAP -lcurses
138 /* define this if you want to use X11 */
139 #undef HAVE_X_WINDOWS
141 #ifdef HAVE_X_WINDOWS
142 /* debug switches enabled because of some difficulties w/X11 */
143 # define C_DEBUG_SWITCH -g
144 # define OBJECTS_MACHINE -lg
145 # define C_OPTIMIZE_SWITCH
146 # define CANNOT_DUMP
147 /*# define XDEBUG*/
148 # define X11
149 /* X library implements these. */
150 # define BSTRING
151 /* X library is in 'nonstandard' location. */
152 # define LD_SWITCH_MACHINE -L/usr/lib/X11/
153 #else
154 /* No sufficient justification for this. */
155 /* # define C_DEBUG_SWITCH */
156 # define C_OPTIMIZE_SWITCH -O
157 #endif /* HAVE_X_WINDOWS */
159 /* enable batdevice-dependent code to compile. */
160 #define BAT68K
162 #define HAVE_SOCKETS
164 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */
167 /* emacs's magic number isn't temacs's;
168 temacs is writeable text (the default!). */