delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/30/09:57:24

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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: <NEBBIOJNGMKPNOBKHCGHIECECAAA DOT tim DOT van DOT holder AT pandora DOT be>
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/ ]

- Raw text -


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