Mercurial > emacs
annotate src/m/tekxd88.h @ 71375:706e41b8c07f
(Coding Conventions): Better explain conventions for definition constructs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 16 Jun 2006 15:22:59 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
1 /* Configuration file for the Tektronix XD88 running UTekV 3.2e, |
3275 | 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.) | |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
4 Copyright (C) 1993, 2002, 2003, 2004, 2005, |
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
5 2006 Free Software Foundation, Inc. |
3275 | 6 |
7 This file is part of GNU Emacs. | |
8 | |
3700
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
9 GNU Emacs is free software; you can redistribute it and/or modify |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
10 it under the terms of the GNU General Public License as published by |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
11 the Free Software Foundation; either version 2, or (at your option) |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
12 any later version. |
3275 | 13 |
3700
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
14 GNU Emacs is distributed in the hope that it will be useful, |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
17 GNU General Public License for more details. |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
18 |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
19 You should have received a copy of the GNU General Public License |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
20 along with GNU Emacs; see the file COPYING. If not, write to |
64083 | 21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 Boston, MA 02110-1301, USA. */ | |
3700
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
23 |
3275 | 24 |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
25 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
26 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 |
3275 | 30 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
31 * group of arguments and treat it as an array of the arguments. */ | |
32 #define NO_ARG_ARRAY | |
33 | |
34 /* Define WORD_MACHINE if addresses and such have | |
35 * to be corrected before they can be used as byte counts. */ | |
36 /* #define WORD_MACHINE */ | |
37 | |
38 /* Now define a symbol for the cpu type, if your compiler | |
39 does not define it automatically: | |
40 Ones defined so far include vax, m68000, ns16000, pyramid, | |
41 orion, tahoe, APOLLO and many others */ | |
42 #ifndef m88000 /* Some 88k C compilers already define this */ | |
43 #define m88000 | |
44 #endif | |
45 | |
46 /* Define how to take a char and sign-extend into an int. | |
47 On machines where char is signed, this is a no-op. */ | |
48 #define SIGN_EXTEND_CHAR(c) (c) | |
49 | |
50 /* Use type int rather than a union, to represent Lisp_Object */ | |
51 /* This is desirable for most machines. */ | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48437
diff
changeset
|
52 #define NO_UNION_TYPE |
3275 | 53 |
54 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
55 the 24-bit bit field into an int. In other words, if bit fields | |
56 are always unsigned. | |
57 | |
58 If you use NO_UNION_TYPE, this flag does not matter. */ | |
59 /* #define EXPLICIT_SIGN_EXTEND */ | |
60 | |
61 /* Data type of load average, as read out of kmem. */ | |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
62 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */ |
3275 | 63 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
64 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ | |
65 | |
66 /* Define CANNOT_DUMP on machines where unexec does not work. | |
67 Then the function dump-emacs will not be defined | |
68 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
69 /*#define CANNOT_DUMP*/ |
3275 | 70 |
71 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
72 pure and impure space as loaded can vary, and even their | |
73 relative order cannot be relied on. | |
74 | |
75 Otherwise Emacs assumes that text space precedes data space, | |
76 numerically. */ | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48437
diff
changeset
|
77 /* #define VIRT_ADDR_VARIES */ |
3275 | 78 |
79 /* Define NO_REMAP if memory segmentation makes it not work well | |
80 to change the boundary between the text section and data section | |
81 when Emacs is dumped. If you define this, the preloaded Lisp | |
82 code will not be sharable; but that's better than failing completely. */ | |
83 #define NO_REMAP | |
84 | |
48437 | 85 #ifndef __GNUC__ |
3275 | 86 # define C_OPTIMIZE_SWITCH -O |
87 #endif /* __GNUC__ */ | |
88 | |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
89 #undef NOMULTIPLEJOBS /* we have job control */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
90 #define HAVE_SOCKETS /* sockets are available */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
91 #define BROKEN_FIONREAD /* is this needed ? */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
92 #define BSTRING /* its in libc but not declared in any header file. */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
93 #undef sigsetmask /* XD88 has sigsetmask() */ |
3275 | 94 |
4540
b404e1c17125
(LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
95 #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */ |
b404e1c17125
(LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
96 #undef LIBX11_SYSTEM |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
97 |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
98 #define HAVE_TERMIOS /* We have termios. */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
99 #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
100 #define NO_TERMIO /* Don't include both termios.h and termio.h */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
101 #define HAVE_PTYS /* XD88 SysV has PTYs. */ |
3275 | 102 #define SYSV_PTYS /* Requires <termios.h> */ |
103 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48437
diff
changeset
|
104 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */ |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
105 /* -X18 means do not allocate programmer-defined local variables to a |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
106 register unless they are declared register. (Copied from perl-4.036 |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
107 Green Hills C hints file. Might be needed for setjmp, I don't know.) */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
108 # define C_SWITCH_MACHINE -X18 |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
109 /* We need /lib/default.ld so that /bin/ld can read its link directives. */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
110 # define LD_SWITCH_SYSTEM /lib/default.ld |
3275 | 111 #endif /* ghs */ |
112 | |
3576
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
113 /* We need this to get dumping to work */ |
55a7424583bb
Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents:
3530
diff
changeset
|
114 #define KEEP_OLD_TEXT_SCNPTR |
52401 | 115 |
116 /* arch-tag: fd3cebc3-2aed-4f8c-be9b-f37331c6e0ff | |
117 (do not change this comment) */ |