1 /* Machine description file for DEC MIPS machines. */
5 /* The following line tells the configuration script what sort of
6 operating system this machine is likely to run.
10 The operating system would be either osf1, ultrix, or NetBSD.
14 #undef WORDS_BIG_ENDIAN
16 #if defined (__NetBSD__)
17 #define BROKEN_NOCOMBRELOC
24 #define MAIL_USE_FLOCK
25 #define HAVE_UNION_WAIT
29 #define START_FILES pre-crt0.o /usr/lib/crt0.o
31 #if !defined (__NetBSD__)
32 /* This line starts being needed with ultrix 4.0. */
33 /* You must delete it for version 3.1. */
34 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
38 /* Supposedly the following will overcome a kernel bug. */
39 #undef LD_SWITCH_MACHINE
41 #define DATA_START 0x10000000
42 #define DATA_SEG_BITS 0x10000000
45 /* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And
46 the relocating allocator is a real win. -JimB */
48 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
49 on defining malloc itself. This should avoid conflicting with it. */
53 /* Override what mips.h says about this. */
54 #if !defined (__NetBSD__)
59 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
60 but it doesn't work right;
61 and it causes hanging in read_process_output. */
62 #define BROKEN_O_NONBLOCK
66 /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
68 #define LIBS_MACHINE -ldnet
71 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
73 #define KERNEL_FILE "/vmunix"
78 [...] The X11 include files that Dec distributes with Ultrix
81 When __STDC__ is defined (which is true with gcc), the X11 include files
82 try to define prototypes. The prototypes however use types which haven't
83 been defined yet, and thus we get syntax/parse errors.
85 You can not fix this by changing the include files, because the prototypes
86 create circular dependencies, in particular Xutil.h depends on types defined
87 in Xlib.h, and Xlib.h depends on types defined in Xutil.h. So, no matter
88 which order you try to include them in, it will still fail.
90 Compiling with -DNeedFunctionPrototypes=0 will solve the problem by
91 directly inhibiting the bad prototypes. This could perhaps just be put in
92 an a Ultrix configuration file.
94 Using the MIT X11 distribution instead of the one provided by Dec will
95 also solve the problem, but I doubt you can convince everyone to do this. */
96 /* Addendum: the MIT X11 distribution neglects to define certain symbols
97 when NeedFunctionPrototypes is 0, but still tries to use them when
98 NeedVarargsPrototypes is 1 (which is its default value). So if we're
99 going to disable non-variadic prototypes, we also need to disable
100 variadic prototypes. --kwzh@gnu.ai.mit.edu */
101 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
104 /* Enable a fix in process.c. */
105 #define SET_CHILD_PTY_PGRP
107 /* arch-tag: 45d5070e-d2b7-479f-b336-3fd497c36e15
108 (do not change this comment) */