comparison src/m/amdx86-64.h @ 82846:6aa3ccf8fedc

Redirect to intel386.h if compiling for i386.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 25 Aug 2007 20:12:48 +0000
parents 49b363c28dce
children 107ccd98fa12 b83d0dadb2a7
comparison
equal deleted inserted replaced
82845:652a69b79238 82846:6aa3ccf8fedc
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to 17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */ 19 Boston, MA 02110-1301, USA. */
20 20
21 #ifdef i386
22 /* Although we're running on an amd64 kernel, we're actually compiling for
23 the x86 architecture. The user should probably have provided an
24 explicit --build to `configure', but if everything else than the kernel
25 is running in i386 mode, then the bug is really ours: we should have
26 guessed better. */
27 #include "m/intel386.h"
28 #else
21 29
22 /* The following line tells the configuration script what sort of 30 /* The following line tells the configuration script what sort of
23 operating system this machine is likely to run. 31 operating system this machine is likely to run.
24 USUAL-OPSYS="linux" */ 32 USUAL-OPSYS="linux" */
25 33
154 #else 162 #else
155 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o 163 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
156 #endif 164 #endif
157 165
158 #endif /* __FreeBSD__ */ 166 #endif /* __FreeBSD__ */
167 #endif /* !i386 */
159 168
160 /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e 169 /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e
161 (do not change this comment) */ 170 (do not change this comment) */