home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
2
/
2598
< prev
next >
Wrap
Internet Message Format
|
1991-01-22
|
933b
From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR)
Newsgroups: alt.sources
Subject: Re: platform - (whicharch - more platforms...)
Message-ID: <1991Jan21.015053.24713@NCoast.ORG>
Date: 21 Jan 91 01:50:53 GMT
As quoted from <2404@island.COM> by daniel@island.COM (Daniel Smith):
+---------------
| elif [ -f /bin/i386 ] && /bin/i386; then
| echo 386
| elif [ -f /bin/i486 ] && /bin/i486; then
| echo 486
| elif [ -f /bin/i586 ] && /bin/i586; then
| echo 586
+---------------
i486 and i386 are linked on our 486 systems (SCO UNIX and Altos System V);
both return true. Presumably, the same hack will be used with the 586, if and
when, if it is sufficiently compatible.
++Brandon
--
Me: Brandon S. Allbery VHF/UHF: KB8JRR on 220, 2m, 440
Internet: allbery@NCoast.ORG Packet: KB8JRR @ WA8BXN
America OnLine: KB8JRR AMPR: KB8JRR.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery Delphi: ALLBERY