i386 missing from specs

John Kennedy jk@csuchico.edu
Wed Sep 2 08:11:00 GMT 1998


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