BUG: Uname -m and arch
Fish
fish@infidels.org
Fri Oct 12 19:47:00 GMT 2001
Hello.
I happen to trip over a bug with uname.
On my system, "uname -m" returns "i686". This is incorrect. I only have a 200MHz
Pentium MMX, and a "i686" is equivalent to a Pentium Pro class CPU. It should be
returning "i586".
I took a peek at source module uname.cc and the code there is incorrect. It is
not taking the Win9X/ME vs. NT/2K/XP issue into account.
The following post dated from 1997 explains the problem:
http://sources.redhat.com/ml/cygwin/1997-05/msg00655.html
The following post from the same 1997 thread contains the CORRECT code:
http://sources.redhat.com/ml/cygwin/1997-05/msg00696.html
Thanks.
--
"Fish" (David B. Trout)
fish@infidels.org
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list