Message-Id: <199909122033.PAA26720@darwin.sfbr.org> Date: Sun, 12 Sep 1999 15:33:33 -0500 (CDT) From: Jeff Williams Subject: Re: CPU identification (Was: Re: uname -m ?) To: djgpp-workers AT delorie DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: oW0OyTdT8xn3/tSfolQ59g== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc Reply-To: djgpp-workers AT delorie DOT com -: > I actually think it is a good idea to add this extension via -: > a new switch for example '-x' or -f etc .. and a new member name -: > to utsname. -: -: Switches for `uname' program is something that should be suggested to -: Jim Meyering, the maintainer of Sh-utils. Unlike Sun, we don't have -: our own version of `uname'. -: -: As for a new member of `struct utsname', I'm not particularly against -: it, although we should at least go out and see if some other platform -: adds that, and if so, make the additional member have the same name. -: Also, if detecting x87 could be dangerous (i.e. risk crashing the -: program), I would vote against it. We have the lib function _detect_80387() in djgpp; is there a danger of this crashing inside a script? Even if it can, is this a bad thing if it is just an optional switch? jtw