20.6, 20.7 changes
[emacs.git] / src / m / tekxd88.h
blob6f67b509c58e55b4e85e581ef4cf6c92730e7d5f
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.
6 This file is part of GNU Emacs.
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.
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.
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, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
24 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
25 is the most significant byte. */
27 #define WORDS_BIG_ENDIAN
29 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
30 * group of arguments and treat it as an array of the arguments. */
31 #define NO_ARG_ARRAY
33 /* Define WORD_MACHINE if addresses and such have
34 * to be corrected before they can be used as byte counts. */
35 /* #define WORD_MACHINE */
37 /* Now define a symbol for the cpu type, if your compiler
38 does not define it automatically:
39 Ones defined so far include vax, m68000, ns16000, pyramid,
40 orion, tahoe, APOLLO and many others */
41 #ifndef m88000 /* Some 88k C compilers already define this */
42 #define m88000
43 #endif
45 /* Define how to take a char and sign-extend into an int.
46 On machines where char is signed, this is a no-op. */
47 #define SIGN_EXTEND_CHAR(c) (c)
49 /* Use type int rather than a union, to represent Lisp_Object */
50 /* This is desirable for most machines. */
51 #define NO_UNION_TYPE
53 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
54 the 24-bit bit field into an int. In other words, if bit fields
55 are always unsigned.
57 If you use NO_UNION_TYPE, this flag does not matter. */
58 /* #define EXPLICIT_SIGN_EXTEND */
60 /* Data type of load average, as read out of kmem. */
61 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */
62 /* Convert that into an integer that is 100 for a load average of 1.0 */
63 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
65 /* Define CANNOT_DUMP on machines where unexec does not work.
66 Then the function dump-emacs will not be defined
67 and temacs will do (load "loadup") automatically unless told otherwise. */
68 /*#define CANNOT_DUMP*/
70 /* Define VIRT_ADDR_VARIES if the virtual addresses of
71 pure and impure space as loaded can vary, and even their
72 relative order cannot be relied on.
74 Otherwise Emacs assumes that text space precedes data space,
75 numerically. */
76 /* #define VIRT_ADDR_VARIES */
78 /* Define NO_REMAP if memory segmentation makes it not work well
79 to change the boundary between the text section and data section
80 when Emacs is dumped. If you define this, the preloaded Lisp
81 code will not be sharable; but that's better than failing completely. */
82 #define NO_REMAP
84 /* Define C_ALLOCA if this machine does not support a true alloca
85 and the one written in C should be used instead.
86 Define HAVE_ALLOCA to say that the system provides a properly
87 working alloca function and it should be used.
88 Define neither one if an assembler-language alloca
89 in the file alloca.s should be used. */
90 #ifdef __GNUC__
91 # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */
92 # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
93 # undef C_ALLOCA
94 #else /* not __GNUC__ */
95 # undef HAVE_ALLOCA
96 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
97 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
98 # define C_OPTIMIZE_SWITCH -O
99 #endif /* __GNUC__ */
101 #undef NOMULTIPLEJOBS /* we have job control */
102 #define HAVE_SOCKETS /* sockets are available */
103 #define BROKEN_FIONREAD /* is this needed ? */
104 #define BSTRING /* its in libc but not declared in any header file. */
105 #undef sigsetmask /* XD88 has sigsetmask() */
107 #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */
108 #undef LIBX11_SYSTEM
110 #define HAVE_TERMIOS /* We have termios. */
111 #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */
112 #define NO_TERMIO /* Don't include both termios.h and termio.h */
113 #define HAVE_PTYS /* XD88 SysV has PTYs. */
114 #define SYSV_PTYS /* Requires <termios.h> */
116 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */
117 /* -X18 means do not allocate programmer-defined local variables to a
118 register unless they are declared register. (Copied from perl-4.036
119 Green Hills C hints file. Might be needed for setjmp, I don't know.) */
120 # define C_SWITCH_MACHINE -X18
121 /* We need /lib/default.ld so that /bin/ld can read its link directives. */
122 # define LD_SWITCH_SYSTEM /lib/default.ld
123 #endif /* ghs */
125 /* We need this to get dumping to work */
126 #define KEEP_OLD_TEXT_SCNPTR