config.guess/config.sub improvements

Lassi A. Tuura Lassi.Tuura@cern.ch
Wed Jan 28 00:50:00 GMT 1998


On Tue, 27 Jan 1998, Ian Lance Taylor wrote:
> I agree that we should return the correct processor type, rather than
> always returning i386, if we can figure it out.

${UNAME_MACHINE} should do; I think cygwin32 reports the value it gets
from the operating system, which in general is correct (although I don't
know how it deals with cyrix or amd). 

> However, cygwin32 is an operating system emulation layer.  cygwin32
> should, in principle, work the same way on both 95 and NT.  I believe
> that cygwin32 should certainly appear in the OS field, and should not
> appear in the manufacturer field.
> 
> I think it would be reasonable to use the new fourth field for this
> purpose, if it is important.  In that case, we would have something
> like `i686-pc-cygwin32-winnt4.0'.
> 
> Alternatively, one could argue that the difference between 95 and NT
> is so fundamental, even when using cygwin32, that it should be part of
> the OS field, in which case we might want `i686-pc-cygwin32nt40' or
> `i686-pc-cygwin3295'.

Either of your proposals would be fine with me.  Those more knowledgeable
than I about the subtleties of the differences should argue which one it
shall be :-)

Cheers,
//lat
--
Lassi.Tuura@cern.ch          There's no sunrise without a night




More information about the Gcc mailing list