Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3A4DEA12.7A5821BE@phekda.freeserve.co.uk> Date: Sat, 30 Dec 2000 13:58:42 +0000 From: Richard Dawe X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Ribust shell-based test for DJGPP? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Tim Van Holder wrote: > Since config.guess uses it, I suppose I could indeed also use 'uname', > testing for 'pc' as machine and 'MS-DOS' as OS. But they seem slightly > to generic (it is feasible some other (future) environment would use the > same return values, but it's much less likely that som other environment > uses both DJDIR, DJGPP and the /dev/env/ system). FYI I remember that Laurynas committed a bunch of patches a while ago to do CPU detection. 'uname' uses this to return i386, etc. for the processor. Looking at a config.guess I got recently from GNU CVS, I see that it matches on 'i?86' and '*DOS' or 'pc' (ignoring OS). It may be that shellutils 2.0 port has a uname with this support - I forget now and I don't use 2.0. I agree going from *DOS to DJGPP is a big jump. Bye, Rich =] -- Richard Dawe [ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]