Mercurial > emacs
annotate src/m/pmax.h @ 5020:94de08fd8a7c
(Fnext_single_property_change): Fix missing \n\.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 15 Nov 1993 06:41:45 +0000 |
| parents | 20abae0de304 |
| children | cd8db400928f |
| rev | line source |
|---|---|
| 1113 | 1 /* Machine description file for DEC MIPS machines. */ |
| 2 | |
| 456 | 3 #include "mips.h" |
| 4 | |
| 5 /* The following line tells the configuration script what sort of | |
| 6 operating system this machine is likely to run. | |
| 1113 | 7 USUAL-OPSYS="note" |
| 8 | |
| 9 NOTE-START | |
| 10 Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise. | |
| 11 NOTE-END */ | |
| 456 | 12 |
| 13 #undef BIG_ENDIAN | |
| 1113 | 14 #undef LIB_STANDARD |
| 15 #undef START_FILES | |
| 16 #undef COFF | |
| 17 #undef TERMINFO | |
| 18 #define MAIL_USE_FLOCK | |
| 19 #define HAVE_UNION_WAIT | |
| 456 | 20 |
| 21 /* This line starts being needed with ultrix 4.0. */ | |
| 1113 | 22 /* You must delete it for version 3.1. */ |
| 456 | 23 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o |
| 24 | |
| 25 /* Supposedly the following will overcome a kernel bug. */ | |
| 26 #undef LD_SWITCH_MACHINE | |
| 27 #undef DATA_START | |
| 28 #define DATA_START 0x10000000 | |
| 29 #define DATA_SEG_BITS 0x10000000 | |
| 30 | |
|
1582
689f1697d285
* m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
31 #if 0 |
|
689f1697d285
* m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
32 /* 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
|
33 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
|
34 |
| 456 | 35 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist |
| 36 on defining malloc itself. This should avoid conflicting with it. */ | |
| 37 #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
|
38 #endif |
| 1113 | 39 |
| 40 /* Override what m-mips.h says about this. */ | |
| 41 #undef LINKER | |
| 42 | |
| 43 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK | |
| 44 but it doesn't work right; | |
| 45 and it causes hanging in read_process_output. */ | |
| 46 #define BROKEN_O_NONBLOCK | |
| 47 | |
| 48 #ifdef OSF1 | |
| 49 #undef C_ALLOCA | |
| 50 #define HAVE_ALLOCA | |
| 51 #endif | |
|
3396
56ffd7d79f05
(LIBS_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1582
diff
changeset
|
52 |
|
3571
6c1a1b79536c
* config.h.in (HAVE_LIBDNET): New macro, to be defined by
Jim Blandy <jimb@redhat.com>
parents:
3406
diff
changeset
|
53 /* 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
|
54 #ifdef HAVE_LIBDNET |
|
3396
56ffd7d79f05
(LIBS_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1582
diff
changeset
|
55 #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
|
56 #endif |
| 3403 | 57 |
|
3406
829998469d86
(KERNEL_FILE): New override definition.
Richard M. Stallman <rms@gnu.org>
parents:
3403
diff
changeset
|
58 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */ |
| 3403 | 59 #undef KERNEL_FILE |
|
3406
829998469d86
(KERNEL_FILE): New override definition.
Richard M. Stallman <rms@gnu.org>
parents:
3403
diff
changeset
|
60 #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
|
61 |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
62 /* Jim Wilson writes: |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
63 [...] 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
|
64 are bogus. |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
65 |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
66 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
|
67 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
|
68 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
|
69 |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
70 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
|
71 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
|
72 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
|
73 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
|
74 |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
75 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
|
76 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
|
77 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
|
78 |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
79 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
|
80 also solve the problem, but I doubt you can convince everyone to do this. */ |
|
20abae0de304
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy <jimb@redhat.com>
parents:
3571
diff
changeset
|
81 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 |
