Mercurial > hg > xemacs-beta
comparison src/m/intel386.h @ 4759:aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
<870180fe0911101613m6b8efa4bpf083fd9013950807@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 18 Nov 2009 08:49:14 -0700 |
parents | ecf1ebac70d8 |
children | 308d34e9f07d 861f2601a38b |
comparison
equal
deleted
inserted
replaced
4758:75975fd0b7fc | 4759:aa5ed11f473b |
---|---|
25 USUAL-OPSYS="note" | 25 USUAL-OPSYS="note" |
26 | 26 |
27 NOTE-START | 27 NOTE-START |
28 Intel 386 (-machine=intel386 or -machine=is386.h) | 28 Intel 386 (-machine=intel386 or -machine=is386.h) |
29 | 29 |
30 The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, | 30 The possibilities for -opsystem are: bsd4-2, usg5-4, usg5-4-2, and linux. |
31 isc2-2, 386-ix, esix, linux, sco3.2v4, and xenix. | |
32 | 31 |
33 18.58 should support a wide variety of operating systems. | 32 18.58 should support a wide variety of operating systems. |
34 Use isc2-2 for Interactive 386/ix version 2.2. | |
35 Use 386ix for prior versions. | |
36 Use esix for Esix. | |
37 Use linux for Linux. | 33 Use linux for Linux. |
38 It isn't clear what to do on an SCO system. | 34 It isn't clear what to do on an SCO system. |
39 | |
40 -machine=is386 is used for an Integrated Solutions 386 machine. | |
41 It may also be correct for Microport systems. | |
42 | 35 |
43 Cubix QBx/386 (-machine=intel386 -opsystem=usg5-3) | 36 Cubix QBx/386 (-machine=intel386 -opsystem=usg5-3) |
44 | 37 |
45 Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c | 38 Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c |
46 due to a compiler bug. | 39 due to a compiler bug. |
47 | |
48 Prime EXL (-machine=intel386 -opsystem=usg5-3) | |
49 | |
50 Minor changes merged in 19.1. | |
51 NOTE-END */ | 40 NOTE-END */ |
52 | 41 |
53 /* Now define a symbol for the cpu type, if your compiler | 42 /* Now define a symbol for the cpu type, if your compiler |
54 does not define it automatically: | 43 does not define it automatically: |
55 Ones defined so far include vax, m68000, ns16000, pyramid, | 44 Ones defined so far include vax, m68000, ns16000, pyramid, |
56 orion, tahoe, APOLLO and many others */ | 45 orion, tahoe, APOLLO and many others */ |
57 | 46 |
58 #define INTEL386 | 47 #define INTEL386 |
59 | 48 |
60 /* crt0.c, if it is used, should use the i386-bsd style of entry. | 49 /* crt0.c, if it is used, should use the i386-bsd style of entry. |
61 with no extra dummy args. On USG and XENIX, | 50 with no extra dummy args. On USG, NO_REMAP says this isn't used. */ |
62 NO_REMAP says this isn't used. */ | |
63 | 51 |
64 /* Mly 16-Jan-96 16:38:32: this is part of a prototype -- same bug present in | 52 /* Mly 16-Jan-96 16:38:32: this is part of a prototype -- same bug present in |
65 other m*.h files */ | 53 other m*.h files */ |
66 #define CRT0_DUMMIES int bogus_fp, | 54 #define CRT0_DUMMIES int bogus_fp, |
67 | 55 |
68 /* crt0.c should define a symbol `start' and do .globl with a dot. */ | 56 /* crt0.c should define a symbol `start' and do .globl with a dot. */ |
69 | 57 |
70 #define DOT_GLOBAL_START | 58 #define DOT_GLOBAL_START |
71 | |
72 #ifdef XENIX | |
73 /* Data type of load average, as read out of kmem. */ | |
74 #define LOAD_AVE_TYPE short | |
75 | |
76 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
77 #define LOAD_AVE_CVT(x) (((double) (x)) * 100.0 / FSCALE) | |
78 | |
79 #define FSCALE 256.0 /* determined by experimentation... */ | |
80 #endif | |
81 | |
82 | 59 |
83 #ifdef SOLARIS2 | 60 #ifdef SOLARIS2 |
84 /* Data type of load average, as read out of kmem. */ | 61 /* Data type of load average, as read out of kmem. */ |
85 #define LOAD_AVE_TYPE long | 62 #define LOAD_AVE_TYPE long |
86 | 63 |
104 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) | 81 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) |
105 #define FSCALE 256.0 | 82 #define FSCALE 256.0 |
106 #endif | 83 #endif |
107 #endif /* not SOLARIS2 */ | 84 #endif /* not SOLARIS2 */ |
108 | 85 |
109 #ifdef XENIX | |
110 | |
111 /* Define NO_REMAP if memory segmentation makes it not work well | |
112 to change the boundary between the text section and data section | |
113 when Emacs is dumped. If you define this, the preloaded Lisp | |
114 code will not be sharable; but that's better than failing completely. */ | |
115 | |
116 #define NO_REMAP | |
117 | |
118 /* Since cannot purify, use standard Xenix 386 startup code. */ | |
119 | |
120 #define START_FILES "/lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o" | |
121 | |
122 /* These really use terminfo. */ | |
123 | |
124 #define LIBS_TERMCAP "/lib/386/Slibcurses.a /lib/386/Slibtinfo.a /lib/386/Slibx.a" | |
125 | |
126 /* Standard libraries for this machine. Since `-l' doesn't work in `ld'. */ | |
127 /* '__fltused' is unresolved w/o Slibcfp.a */ | |
128 #define LIB_STANDARD "/lib/386/Slibcfp.a /lib/386/Slibc.a" | |
129 #else /* not XENIX */ | |
130 | |
131 #ifdef USG | 86 #ifdef USG |
132 | |
133 #define NO_REMAP | 87 #define NO_REMAP |
134 #define TEXT_START 0 | 88 #define TEXT_START 0 |
135 #endif /* USG */ | 89 #endif /* USG */ |
136 #endif /* not XENIX */ | |
137 | 90 |
138 #ifdef linux | 91 #ifdef linux |
139 /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ | 92 /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ |
140 /* we cannot get the maximum address for brk */ | 93 /* we cannot get the maximum address for brk */ |
141 #define ULIMIT_BREAK_VALUE (32*1024*1024) | 94 #define ULIMIT_BREAK_VALUE (32*1024*1024) |