460bdc44ad64104c22ab307d42d848b4a1127560
[bpt/emacs.git] / src / m / tekxd88.h
1 /* Configuration file for the Tektronix XD88 running UTekV 3.2e,
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93.
3 You probably need to use gnu make (version 3.63 or higher.)
4 Copyright (C) 1993 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21
22
23 /* The following symbols give information on the size of various data types. */
24 #define SHORTBITS 16 /* Number of bits in a short */
25 #define INTBITS 32 /* Number of bits in an int */
26 #define LONGBITS 32 /* Number of bits in a long */
27
28 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
29 is the most significant byte. */
30 #define BIG_ENDIAN
31
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 #define NO_ARG_ARRAY
35
36 /* Define WORD_MACHINE if addresses and such have
37 * to be corrected before they can be used as byte counts. */
38 /* #define WORD_MACHINE */
39
40 /* Now define a symbol for the cpu type, if your compiler
41 does not define it automatically:
42 Ones defined so far include vax, m68000, ns16000, pyramid,
43 orion, tahoe, APOLLO and many others */
44 #ifndef m88000 /* Some 88k C compilers already define this */
45 #define m88000
46 #endif
47
48 /* Define how to take a char and sign-extend into an int.
49 On machines where char is signed, this is a no-op. */
50 #define SIGN_EXTEND_CHAR(c) (c)
51
52 /* Use type int rather than a union, to represent Lisp_Object */
53 /* This is desirable for most machines. */
54 #define NO_UNION_TYPE
55
56 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
57 the 24-bit bit field into an int. In other words, if bit fields
58 are always unsigned.
59
60 If you use NO_UNION_TYPE, this flag does not matter. */
61 /* #define EXPLICIT_SIGN_EXTEND */
62
63 /* Data type of load average, as read out of kmem. */
64 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */
65 /* Convert that into an integer that is 100 for a load average of 1.0 */
66 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
67
68 /* Define CANNOT_DUMP on machines where unexec does not work.
69 Then the function dump-emacs will not be defined
70 and temacs will do (load "loadup") automatically unless told otherwise. */
71 /*#define CANNOT_DUMP*/
72
73 /* Define VIRT_ADDR_VARIES if the virtual addresses of
74 pure and impure space as loaded can vary, and even their
75 relative order cannot be relied on.
76
77 Otherwise Emacs assumes that text space precedes data space,
78 numerically. */
79 /* #define VIRT_ADDR_VARIES */
80
81 /* Define NO_REMAP if memory segmentation makes it not work well
82 to change the boundary between the text section and data section
83 when Emacs is dumped. If you define this, the preloaded Lisp
84 code will not be sharable; but that's better than failing completely. */
85 #define NO_REMAP
86
87 /* Define C_ALLOCA if this machine does not support a true alloca
88 and the one written in C should be used instead.
89 Define HAVE_ALLOCA to say that the system provides a properly
90 working alloca function and it should be used.
91 Define neither one if an assembler-language alloca
92 in the file alloca.s should be used. */
93 #ifdef __GNUC__
94 # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */
95 # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
96 # undef C_ALLOCA
97 # define C_OPTIMIZE_SWITCH -O2
98 #else /* not __GNUC__ */
99 # undef HAVE_ALLOCA
100 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
101 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
102 # define C_OPTIMIZE_SWITCH -O
103 #endif /* __GNUC__ */
104
105 #undef NOMULTIPLEJOBS /* we have job control */
106 #define HAVE_SOCKETS /* sockets are available */
107 #define HAVE_TIMEVAL /* we have Berkeley style <sys/time.h> */
108 #define HAVE_SELECT /* XD88 has select(). */
109 #define BROKEN_FIONREAD /* is this needed ? */
110 #define BSTRING /* its in libc but not declared in any header file. */
111 #undef sigsetmask /* XD88 has sigsetmask() */
112
113 #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */
114 #undef LIBX11_SYSTEM
115
116 #define HAVE_TERMIOS /* We have termios. */
117 #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */
118 #define NO_TERMIO /* Don't include both termios.h and termio.h */
119 #define HAVE_PTYS /* XD88 SysV has PTYs. */
120 #define SYSV_PTYS /* Requires <termios.h> */
121
122 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */
123 /* -X18 means do not allocate programmer-defined local variables to a
124 register unless they are declared register. (Copied from perl-4.036
125 Green Hills C hints file. Might be needed for setjmp, I don't know.) */
126 # define C_SWITCH_MACHINE -X18
127 /* We need /lib/default.ld so that /bin/ld can read its link directives. */
128 # define LD_SWITCH_SYSTEM /lib/default.ld
129 #endif /* ghs */
130
131 /* We need this to get dumping to work */
132 #define KEEP_OLD_TEXT_SCNPTR