Why does config.guess come up with such wacky stuff?

Alexandre Oliva oliva@lsd.ic.unicamp.br
Wed Dec 1 08:47:00 GMT 1999


On Dec  1, 1999, Robert Lipe <robertlipe@usa.net> wrote:

> The code around line 3560 of configure.in handles this.  So now if
> you're on a 386 and type 'configure && make', GCC will presumably
> emit opcodes that your computer won't understand and generated
> binaries will crash.  If you're on a P-II or P-III and do the same,
> you're leaving clock cycles on the table becuase GCC is now "dumbed
> down" for a P5.  Neither of these are good.

I see.  This very situation comes up on Solaris/x86: config.guess
always prints i386-pc-solaris*, even though I'm running on a P-II.  It
would be nice to get this fixed too.

> Without fretting over the details right now, would you support
> something like this in the master copy of config.guess so that GCC
> can use the master copy?

I'd certainly like it, but I'm not the one to decide.  Ben Elliston is
the official maintainer of these files.

>         *Pentium$) UNAME_MACHINE=i586;;
                  ^ does this really work?

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Gcc mailing list