* dired.c (file_name_completion): Don't return t if the match is exact
[emacs.git] / src / m / intel386.h
bloba42af80ec43a03c6c4df661d3a3f015d30abc2e9
1 /* Machine description file for intel 386.
2 Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
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.
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.
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/>. */
21 /* The following line tells the configuration script what sort of
22 operating system this machine is likely to run.
23 USUAL-OPSYS="note"
25 NOTE-START
26 Intel 386 (-machine=intel386)
28 The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3,
29 isc2-2, 386-ix, and linux.
31 18.58 should support a wide variety of operating systems.
32 Use isc2-2 for Interactive 386/ix version 2.2.
33 Use 386ix for prior versions.
34 Use linux for Linux.
35 It isn't clear what to do on an SCO system.
37 -machine=is386 is used for an Integrated Solutions 386 machine.
38 It may also be correct for Microport systems.
40 Cubix QBx/386 (-machine=intel386 -opsystem=usg5-3)
42 Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c
43 due to a compiler bug.
45 Prime EXL (-machine=intel386 -opsystem=usg5-3)
47 Minor changes merged in 19.1.
48 NOTE-END */
50 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
51 is the most significant byte. */
53 #undef WORDS_BIG_ENDIAN
55 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
56 * group of arguments and treat it as an array of the arguments. */
58 /* #define NO_ARG_ARRAY */
60 /* Define WORD_MACHINE if addresses and such have
61 * to be corrected before they can be used as byte counts. */
63 /* #define WORD_MACHINE */
65 /* Now define a symbol for the cpu type, if your compiler
66 does not define it automatically:
67 Ones defined so far include vax, m68000, ns16000, pyramid,
68 orion, tahoe, APOLLO and many others */
70 #define INTEL386
72 /* Use type int rather than a union, to represent Lisp_Object */
74 #define NO_UNION_TYPE
76 /* crt0.c, if it is used, should use the i386-bsd style of entry.
77 with no extra dummy args. On USG and XENIX,
78 NO_REMAP says this isn't used. */
80 #define CRT0_DUMMIES bogus_fp,
82 /* crt0.c should define a symbol `start' and do .globl with a dot. */
84 #define DOT_GLOBAL_START
86 #ifdef SOLARIS2
87 /* Data type of load average, as read out of kmem. */
88 #define LOAD_AVE_TYPE long
90 /* Convert that into an integer that is 100 for a load average of 1.0 */
91 /* This is totally uncalibrated. */
92 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
94 /* J.W.Hawtin@lut.ac.uk say Solaris 2.4 as well as Solaris 2.1 on X86
95 requires -lkvm as well.
96 And handa@etl.gov.jp says that -lkvm needs -llelf, at least on 2.5. */
97 #define LIBS_MACHINE -lkvm -lelf
99 #ifndef SOLARIS2_4
100 /* J.W.hawtin@lut.ac.uk says Solaris 2.1 on the X86 has FSCALE defined in a
101 system header. */
102 #else /* SOLARIS2_4 */
103 #ifndef __GNUC__
104 #if 0 /* wisner@gryphon.com says this screws up cpp */
105 #define C_SWITCH_MACHINE -Xa
106 #endif
107 #endif /* not __GNUC__ */
108 #endif /* SOLARIS2_4 */
110 /* configure thinks solaris X86 has gethostname, but it does not work,
111 so undefine it. */
112 #undef HAVE_GETHOSTNAME
114 #else /* not SOLARIS2 */
115 #ifdef USG5_4 /* Older USG systems do not support the load average. */
116 /* Data type of load average, as read out of kmem. */
118 #define LOAD_AVE_TYPE long
120 /* Convert that into an integer that is 100 for a load average of 1.0 */
121 /* This is totally uncalibrated. */
123 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
124 #define FSCALE 256.0
125 #endif
126 #endif /* not SOLARIS2 */
128 /* Define CANNOT_DUMP on machines where unexec does not work.
129 Then the function dump-emacs will not be defined
130 and temacs will do (load "loadup") automatically unless told otherwise. */
132 /* #define CANNOT_DUMP */
134 /* Define VIRT_ADDR_VARIES if the virtual addresses of
135 pure and impure space as loaded can vary, and even their
136 relative order cannot be relied on.
138 Otherwise Emacs assumes that text space precedes data space,
139 numerically. */
141 /* #define VIRT_ADDR_VARIES */
143 /* this brings in alloca() if we're using cc */
144 #ifdef USG
145 #ifndef LIB_STANDARD
146 #ifdef USG5_4
147 #define LIB_STANDARD -lc
148 #else /* not USG5_4 */
149 #define LIB_STANDARD -lPW -lc
150 #endif /* not USG5_4 */
151 #endif /* LIB_STANDARD */
153 #define NO_REMAP
154 #define TEXT_START 0
155 #endif /* USG */
157 #ifdef USG5_4
158 #define DATA_SEG_BITS 0x08000000
159 #endif
161 #ifdef MSDOS
162 #define NO_REMAP
163 #endif
165 #ifdef WINDOWSNT
166 #define VIRT_ADDR_VARIES
167 #define DATA_END get_data_end ()
168 #define DATA_START get_data_start ()
169 #define NO_ARG_ARRAY
170 #endif
172 #ifdef linux
173 /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */
174 /* we cannot get the maximum address for brk */
175 #define ULIMIT_BREAK_VALUE (32*1024*1024)
177 #define SEGMENT_MASK ((SEGMENT_SIZE)-1)
178 #endif
180 #if defined (MAC_OSX) || defined (DARWIN)
181 #ifdef _LP64
182 /* For Intel Mac, with CC='gcc -arch x86_64'. */
183 #define NO_ARG_ARRAY
184 #endif
185 #endif
187 /* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec
188 (do not change this comment) */