]> code.delx.au - gnu-emacs/blob - src/m/vax.h
Merge from emacs--rel--22
[gnu-emacs] / src / m / vax.h
1 /* machine description file for vax.
2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
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
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) 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. If not, see <http://www.gnu.org/licenses/>. */
19
20
21 /* The following line tells the configuration script what sort of
22 operating system this machine is likely to run.
23 USUAL-OPSYS="note"
24
25 NOTE-START
26 The vax (-machine=vax) runs zillions of different operating systems.
27
28 Vax running VMS (-opsystem=vms)
29
30 18.36 believed to work. Addition of features is necessary to make
31 this Emacs version more usable.
32
33 NOTE-END */
34
35 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
36 is the most significant byte. */
37
38 #undef WORDS_BIG_ENDIAN
39
40 /* #define vax -- appears to be done automatically */
41
42 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */
43
44 #define CRT0_DUMMIES
45
46 /* crt0.c should define a symbol `start' and do .globl with a dot. */
47
48 #define DOT_GLOBAL_START
49
50 #ifdef BSD_SYSTEM
51 /* USG systems I know of running on Vaxes do not actually
52 support the load average, so disable it for them. */
53
54 /* Data type of load average, as read out of kmem. */
55
56 #define LOAD_AVE_TYPE double
57
58 /* Convert that into an integer that is 100 for a load average of 1.0 */
59
60 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
61
62 #endif /* BSD_SYSTEM */
63
64 #ifdef VMS
65
66 /* Data type of load average, as read out of driver. */
67
68 #define LOAD_AVE_TYPE float
69
70 /* Convert that into an integer that is 100 for a load average of 1.0 */
71
72 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
73
74 #endif /* VMS */
75
76 /* Vax sysV has alloca in the PW library. */
77
78 #ifdef USG
79 #define LIB_STANDARD -lPW -lc
80
81 #define TEXT_START 0
82 #endif /* USG */
83
84 #ifdef BSD4_2
85 #define HAVE_FTIME
86 #endif
87
88 /* arch-tag: 508bdf7a-01a0-4ce0-8eba-0704d0df55a0
89 (do not change this comment) */