i386 missing from specs
John Kennedy
jk@csuchico.edu
Thu Sep 3 17:34:00 GMT 1998
09/03/98 @ 03:30:56 PM (Thursday)
Is there some reason -Di386 got yanked out of CPP_PREDEFINES between
egcs-1.0.3a and egcs-1.1? Some packages (like XFree86) are expecting
that to be available.
--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./gcc/config/i386/linux.h.OLD Mon Jul 13 15:38:43 1998
+++ ./gcc/config/i386/linux.h Thu Sep 3 14:35:16 1998
@@ -151,7 +151,7 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D__ELF__ -Dunix -Dlinux -Asystem(posix)"
+#define CPP_PREDEFINES "-Di386 -D__ELF__ -Dunix -Dlinux -Asystem(posix)"
#undef CPP_SPEC
#ifdef USE_GNULIBC_1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>From warlock Wed Sep 2 08:11:17 1998
To: egcs-bugs@cygnus.com
Subject: i386 missing from specs
09/02/98 @ 08:10:52 AM (Wednesday)
I recently tried the egcs-1.1 prerelease (normally I use egcs-1.0.3a)
and ran into a problem compiling XFree86. In trying to figure out what
was wrong, I noticed that egcs-1.1 didn't have everything predefined
that egcs-1.0.3a did.
I never had a problem with 1.0.3a. It defines these values:
[egcs-1.0.3a/BUILD/gcc/cpp -dM -version < /dev/null]
GNU CPP version egcs-2.90.29 980515 (egcs-1.0.3 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/i586-pc-linux-gnu/include
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/include
/usr/include
End of search list.
#define linux 1
#define i386 1
#define __ELF__ 1
#define unix 1
When I look at the same output for egcs-2.1, it is different:
[egcs-1.1/BUILD/gcc/cpp -dM -version < /dev/null]
GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/i586-pc-linux-gnu/include
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.57/include
/usr/include
End of search list.
#define linux 1
#define __ELF__ 1
#define unix 1
What can I do to help figure out why that definition for i386 is missing?
--- john
More information about the Gcc-bugs
mailing list