Mail Archives: djgpp-workers/2000/12/30/09:57:24
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 -