1 /* machine description for Bull DPX/2 range
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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)
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.
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. */
21 /* Synched up with: FSF 19.31. */
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" */
28 * You need to either un-comment one of these lines, or copy one
29 * of them to config.h before you include this file.
30 * Note that some simply define a constant and others set a value.
33 /* #define ncl_el /* DPX/2 210,220 etc */
34 /* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */
36 /* Now define a symbol for the cpu type, if your compiler
37 does not define it automatically:
38 Ones defined so far include vax, m68000, ns16000, pyramid,
39 orion, tahoe, APOLLO and many others */
41 /* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */
43 /* Data type of load average, as read out of kmem. */
45 #define LOAD_AVE_TYPE long
47 /* Convert that into an integer that is 100 for a load average of 1.0 */
50 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
52 /* Define CANNOT_DUMP on machines where unexec does not work.
53 Then the function dump-emacs will not be defined
54 and temacs will do (load "loadup") automatically unless told otherwise. */
56 /*#define CANNOT_DUMP /**/
58 /* Define C_ALLOCA if this machine does not support a true alloca
59 and the one written in C should be used instead.
60 Define HAVE_ALLOCA to say that the system provides a properly
61 working alloca function and it should be used.
62 Define neither one if an assembler-language alloca
63 in the file alloca.s should be used. */
66 /* #define HAVE_ALLOCA /**/
68 /* Define NO_REMAP if memory segmentation makes it not work well
69 to change the boundary between the text section and data section
70 when Emacs is dumped. If you define this, the preloaded Lisp
71 code will not be sharable; but that's better than failing completely. */
76 * end of the standard macro's
80 * a neat identifier to handle source mods (if needed)
86 /* Disable support for shared libraries in unexec. */
88 #undef USG_SHARED_LIBRARIES
91 * if we use X11, libX11.a has these...
94 # define LIB_X11_LIB "-lX11"
96 # define LIBX11_SYSTEM "-lmalloc -lnsl"
99 * useful if you have INET loaded
101 # define LIBS_MACHINE "-linet"
104 #if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC)
109 * if SIGIO is defined, much of the emacs
110 * code assumes we are BSD !!
119 * sysdep.c(sys_suspend) works fine with emacs-18.58
120 * and BOS 02.00.45, if you have an earler version
121 * of Emacs and/or BOS, or have problems, or just prefer
122 * to start a sub-shell rather than suspend-emacs,
123 * un-comment out the next line.
125 /* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */
128 * no we don't want this at all
134 /* select also needs this header file--but not in ymakefile. */
136 #include <sys/types.h>
137 #include <sys/select.h>
143 * Define the direction of stack growth.
146 #define STACK_DIRECTION -1
148 /* we also have this */
152 /* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call
153 enters in an infinite loop. Avoid calling it */
156 /* system closedir sometimes complains about wrong descriptor
157 for no apparent reasons. Use the provided closedir in sysdep.c instead */
162 /* This is to prevent memory clobbering on the DPX/2 200. */
163 #define LD_SWITCH_MACHINE "-N -T32"