annotate src/m/pmax.h @ 13558:0e1539fdf37c

(c++-mode): Remove autoload cookie.
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Nov 1995 18:58:57 +0000
parents 0cbb394cbd82
children 621a575db6f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
1 /* Machine description file for DEC MIPS machines. */
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
2
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 /* The following line tells the configuration script what sort of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 operating system this machine is likely to run.
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
7 USUAL-OPSYS="note"
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
8
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
9 NOTE-START
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
10 Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise.
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
11 NOTE-END */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
9095
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
13 #undef WORDS_BIG_ENDIAN
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
14 #undef LIB_STANDARD
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
15 #undef START_FILES
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
16 #undef COFF
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
17 #undef TERMINFO
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
18 #define MAIL_USE_FLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
19 #define HAVE_UNION_WAIT
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
21
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
22 #ifdef MACH
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
23 #define START_FILES pre-crt0.o /usr/lib/crt0.o
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
24 #else
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* This line starts being needed with ultrix 4.0. */
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
26 /* You must delete it for version 3.1. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
28 #endif
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 /* Supposedly the following will overcome a kernel bug. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 #undef LD_SWITCH_MACHINE
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #undef DATA_START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #define DATA_START 0x10000000
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 #define DATA_SEG_BITS 0x10000000
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
1582
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
36 #if 0
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
37 /* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
38 the relocating allocator is a real win. -JimB */
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
39
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 on defining malloc itself. This should avoid conflicting with it. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42 #define SYSTEM_MALLOC
1582
689f1697d285 * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
43 #endif
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
44
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
45 /* Override what mips.h says about this. */
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
46 #undef LINKER
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
47
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
48 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
49 but it doesn't work right;
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
50 and it causes hanging in read_process_output. */
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
51 #define BROKEN_O_NONBLOCK
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
52
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
53 #if defined (OSF1) || defined (MACH)
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
54 #undef C_ALLOCA
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
55 #define HAVE_ALLOCA
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
56 #endif
3396
56ffd7d79f05 (LIBS_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 1582
diff changeset
57
3571
6c1a1b79536c * config.h.in (HAVE_LIBDNET): New macro, to be defined by
Jim Blandy <jimb@redhat.com>
parents: 3406
diff changeset
58 /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
6c1a1b79536c * config.h.in (HAVE_LIBDNET): New macro, to be defined by
Jim Blandy <jimb@redhat.com>
parents: 3406
diff changeset
59 #ifdef HAVE_LIBDNET
3396
56ffd7d79f05 (LIBS_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 1582
diff changeset
60 #define LIBS_MACHINE -ldnet
3571
6c1a1b79536c * config.h.in (HAVE_LIBDNET): New macro, to be defined by
Jim Blandy <jimb@redhat.com>
parents: 3406
diff changeset
61 #endif
3403
4151b7a0e415 Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 3396
diff changeset
62
3406
829998469d86 (KERNEL_FILE): New override definition.
Richard M. Stallman <rms@gnu.org>
parents: 3403
diff changeset
63 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
3403
4151b7a0e415 Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 3396
diff changeset
64 #undef KERNEL_FILE
3406
829998469d86 (KERNEL_FILE): New override definition.
Richard M. Stallman <rms@gnu.org>
parents: 3403
diff changeset
65 #define KERNEL_FILE "/vmunix"
4001
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
66
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
67 #ifndef MACH
4001
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
68 /* Jim Wilson writes:
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
69 [...] The X11 include files that Dec distributes with Ultrix
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
70 are bogus.
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
71
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
72 When __STDC__ is defined (which is true with gcc), the X11 include files
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
73 try to define prototypes. The prototypes however use types which haven't
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
74 been defined yet, and thus we get syntax/parse errors.
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
75
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
76 You can not fix this by changing the include files, because the prototypes
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
77 create circular dependencies, in particular Xutil.h depends on types defined
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
78 in Xlib.h, and Xlib.h depends on types defined in Xutil.h. So, no matter
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
79 which order you try to include them in, it will still fail.
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
80
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
81 Compiling with -DNeedFunctionPrototypes=0 will solve the problem by
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
82 directly inhibiting the bad prototypes. This could perhaps just be put in
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
83 an a Ultrix configuration file.
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
84
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
85 Using the MIT X11 distribution instead of the one provided by Dec will
20abae0de304 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents: 3571
diff changeset
86 also solve the problem, but I doubt you can convince everyone to do this. */
6889
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
87 /* Addendum: the MIT X11 distribution neglects to define certain symbols
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
88 when NeedFunctionPrototypes is 0, but still tries to use them when
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
89 NeedVarargsProrotypes is 1 (which is its default value). So if we're
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
90 going to disable non-variadic prototypes, we also need to disable
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
91 variadic prototypes. --kwzh@gnu.ai.mit.edu */
8b9decfed36f (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Karl Heuer <kwzh@gnu.org>
parents: 5256
diff changeset
92 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
12419
818d7bcf63b0 [MACH]: Use built-in alloca, set START_FILES.
Richard M. Stallman <rms@gnu.org>
parents: 9095
diff changeset
93 #endif
5256
cd8db400928f (SET_CHILD_PTY_PGRP): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4001
diff changeset
94
cd8db400928f (SET_CHILD_PTY_PGRP): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4001
diff changeset
95 /* Enable a fix in process.c. */
cd8db400928f (SET_CHILD_PTY_PGRP): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 4001
diff changeset
96 #define SET_CHILD_PTY_PGRP