This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
__i386__ not defined
- To: <gcc at gcc dot gnu dot org>
- Subject: __i386__ not defined
- From: "Roger Collins" <roger at ProProject dot com>
- Date: Tue, 23 Jan 2001 08:31:05 -0500
I'm trying to compile the latest snapshot on Unixware 2.1
(i386-pc-sysv4.2uw2.1).
Following the textbook native procedure on a clean download (20010115), it
gets a compile
error because __i386__ is not defined.
The line of code that causes the error reads
#if __i386__
The error message is "#if with no expression."
Any ideas on how to correct this? Pointers to docs on platform
configuration?
Here's the error message I get...
./xgcc -B./ -B/elmer/elmer4/rcollins/gcc3/dist/i386-pc-sysv4.2uw2.1/bin/ -is
yste
m
lmer/elmer4/rcollins/gcc3/dist/i386-pc-sysv4.2uw2.1/include -O2 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./i
nclude -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/elmer/e
lmer
4/rcollins/gcc3/gcc-20010115/gcc -I/elmer/elmer4/rcollins/gcc3/gcc-20010115/
gcc/
. -I/elmer/elmer4/rcollins/gcc3/gcc-20010115/gcc/config -I/elmer/elmer4/rcol
lins
/gcc3/gcc-20010115/gcc/../include -DL_muldi3 -c
/elmer/elmer4/rcollins/gcc3/gcc
-20010115/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from include/limits.h:11,
from
/elmer/elmer4/rcollins/gcc3/gcc-20010115/gcc/tsystem.h:84,
from
/elmer/elmer4/rcollins/gcc3/gcc-20010115/gcc/libgcc2.c:37:
include/syslimits.h:188:13: #if with no expression
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/elmer/elmer4/rcollins/gcc3/obj/gcc'
Cheers,
Roger
--
Roger Collins
ProProject, Inc.
www.ProProject.com -- Try our web application
for managing time, expenses, and billing on projects.