Mercurial > emacs
annotate src/m/7300.h @ 13903:936c8364e15a
(abbrev-file-name): Drive letter can go beyond `Z' under MS-DOS/Novell.
(auto-mode-alist): Support txt and txi like text and texi.
(backup-buffer): Use convert-standard-filename.
(basic-save-buffer-1): Make the name of the temporary file (where
precious files are saved) conform to MS-DOS 8+3 constraints.
(convert-standard-filename): New function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 01 Jan 1996 22:51:51 +0000 |
parents | 1d4654a97585 |
children | ee40177f6c68 |
rev | line source |
---|---|
456 | 1 /* machine description file for AT&T UNIX PC model 7300 |
2 Copyright (C) 1986 Free Software Foundation, Inc. | |
3 Modified for this machine by mtxinu!rtech!gonzo!daveb | |
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 | |
3699 | 9 the Free Software Foundation; either version 2, 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 | |
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | |
21 | |
22 /* The following line tells the configuration script what sort of | |
23 operating system this machine is likely to run. | |
24 USUAL-OPSYS="usg5-2-2" */ | |
25 | |
26 /* Supposedly now these machines have flexnames. | |
27 | |
28 /* # define SHORTNAMES */ | |
29 | |
30 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 /* 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
|
32 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
|
33 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
35 |
456 | 36 /* XINT must explicitly sign-extend */ |
37 | |
38 #define EXPLICIT_SIGN_EXTEND | |
39 | |
40 /* Use type int rather than a union, to represent Lisp_Object */ | |
41 | |
42 #define NO_UNION_TYPE | |
43 | |
44 /* Now define a symbol for the cpu type, if your compiler | |
45 does not define it automatically: | |
46 vax, m68000, ns16000 are the ones defined so far. */ | |
47 | |
48 # ifndef mc68k | |
49 # define mc68k | |
50 # endif | |
51 #ifndef m68k | |
52 #define m68k | |
53 #endif | |
54 | |
55 /* Cause crt0.c to define errno. */ | |
56 | |
57 #define NEED_ERRNO | |
58 | |
59 /* Data type of load average, as read out of kmem. */ | |
60 /* These are commented out since it is not supported by this machine. */ | |
61 | |
62 /* #define LOAD_AVE_TYPE long */ | |
63 | |
64 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
65 | |
66 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | |
67 | |
4440
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
68 #ifdef __GNUC__ |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
69 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
70 #define HAVE_ALLOCA |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
71 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
72 #else |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
73 |
456 | 74 #define SWITCH_ENUM_BUG |
4440
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
75 #define C_ALLOCA |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
76 #define STACK_DIRECTION -1 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
77 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
78 #endif |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
79 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
80 /* If you have the PD pty driver installed, uncomment the following line. */ |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
81 /* #define HAVE_PTYS */ |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
82 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
83 #define HAVE_SYSVIPC |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
84 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
85 /* We don't have memmove. */ |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
86 #define memmove(d, s, n) safe_bcopy (s, d, n) |
456 | 87 |
88 /* These three lines were new in 18.50. They were said to permit | |
89 a demand-paged executable, but someone else says they don't work. | |
90 Someone else says they do. They didn't work because errno was an | |
91 initialized variable in crt0.c, and because of %splimit (also therein), | |
92 both of which have been fixed now. */ | |
93 #define SECTION_ALIGNMENT 0x03ff | |
94 #define SEGMENT_MASK 0xffff | |
95 #define LD_SWITCH_MACHINE -z | |
4440
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
96 |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
97 /* Insist on using cc when compiling this. GCC may have been |
e608866e49aa
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
Jim Blandy <jimb@redhat.com>
parents:
3699
diff
changeset
|
98 configured to use GAS syntax, which causes problems. */ |
4443
41c3094d0ed8
(CRT0_COMPILE): Add -O and -Demacs.
Richard M. Stallman <rms@gnu.org>
parents:
4440
diff
changeset
|
99 #define CRT0_COMPILE cc -c -O -Demacs |