Mercurial > emacs
annotate src/m/vax.h @ 93513:b97d6aea2d95
(abbrev-mode): Use define-minor-mode.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 01 Apr 2008 08:36:57 +0000 |
parents | f27b84de02cf |
children | 606f2d163a64 7e5b32f86a4c |
rev | line source |
---|---|
456 | 1 /* machine description file for vax. |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, |
79755 | 3 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
78258
6aba169c4b1f
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75227
diff
changeset
|
9 the Free Software Foundation; either version 3, or (at your option) |
456 | 10 any later version. |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
456 | 21 |
22 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
456 | 24 operating system this machine is likely to run. |
25 USUAL-OPSYS="note" | |
26 | |
27 NOTE-START | |
28 The vax (-machine=vax) runs zillions of different operating systems. | |
29 | |
30 Vax running Berkeley Unix (-opsystem=bsd4-1, -opsystem=bsd4-2 or | |
31 -opsystem=bsd4-3) | |
32 | |
33 Works. | |
34 | |
35 Vax running Ultrix (-opsystem=bsd4-2) | |
36 | |
37 Works. See under Ultrix in share-lib/MACHINES for problems using X | |
38 windows on Ultrix. | |
39 | |
40 Vax running System V rel 2 (-opsystem=usg5-2) | |
41 | |
42 18.27 Works. | |
43 | |
44 Vax running System V rel 0 (-opsystem=usg5-0) | |
45 | |
46 Works as of 18.36. | |
47 | |
48 Vax running VMS (-opsystem=vms) | |
49 | |
50 18.36 believed to work. Addition of features is necessary to make | |
51 this Emacs version more usable. | |
52 | |
53 NOTE-END */ | |
54 | |
78499 | 55 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
56 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
|
57 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
58 #undef WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
59 |
456 | 60 /* #define vax -- appears to be done automatically */ |
61 | |
62 /* Use type int rather than a union, to represent Lisp_Object */ | |
63 | |
64 #define NO_UNION_TYPE | |
65 | |
66 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | |
67 | |
68 #define CRT0_DUMMIES | |
69 | |
70 /* crt0.c should define a symbol `start' and do .globl with a dot. */ | |
71 | |
72 #define DOT_GLOBAL_START | |
73 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
74 #ifdef BSD_SYSTEM |
456 | 75 /* USG systems I know of running on Vaxes do not actually |
76 support the load average, so disable it for them. */ | |
77 | |
78 /* Data type of load average, as read out of kmem. */ | |
79 | |
80 #define LOAD_AVE_TYPE double | |
81 | |
82 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
83 | |
84 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
85 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
86 #endif /* BSD_SYSTEM */ |
456 | 87 |
88 #ifdef VMS | |
89 | |
90 /* Data type of load average, as read out of driver. */ | |
91 | |
92 #define LOAD_AVE_TYPE float | |
93 | |
94 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
95 | |
96 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
97 | |
98 #endif /* VMS */ | |
99 | |
100 /* Vax sysV has alloca in the PW library. */ | |
101 | |
102 #ifdef USG | |
103 #define LIB_STANDARD -lPW -lc | |
104 | |
105 /* There is some bug in unexec in for usg 5.2 on a vax | |
106 which nobody who runs such a system has yet tracked down. */ | |
107 #ifndef USG5_0 | |
108 #define NO_REMAP | |
109 #endif /* USG 5_0 */ | |
110 | |
111 #define TEXT_START 0 | |
112 #endif /* USG */ | |
113 | |
4448
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
114 #ifdef BSD4_2 |
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
115 #define HAVE_FTIME |
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
116 #endif |
52401 | 117 |
118 /* arch-tag: 508bdf7a-01a0-4ce0-8eba-0704d0df55a0 | |
119 (do not change this comment) */ |