delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/04/21:25:07

From: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
Message-Id: <199908050121.VAA18762@mccoy2.ECE.McGill.CA>
Subject: Re: CPU ID program, second version
To: djgpp-workers AT delorie DOT com
Date: Wed, 4 Aug 1999 21:21:20 -0400 (EDT)
In-Reply-To: <199908041735.NAA10091@mccoy2.ECE.McGill.CA> from "Alain Magloire" at Aug 4, 99 01:35:00 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Bonjour M. Laurynas Biveinis
> 
> > Hello,
> > 
> > if all what "uname -m" has to do is print i[3-6]86,
> > then this program below should do it correctly. I
> 
> On my Solaris 2.{6,7} boxes it returns
> i686 for P3
> i586 for Pentium
> 

I meant your code when compile on my Solaris and QNX/NTO boxes
return "i586" and "i686".
Actually on the Solaris machines, "uname -m" invariably returns
i86pc and "uname -p" i386 for all x86 CPUs.
And on the QNX/NTO "uname -m" returns x86pc for all intels.

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019