home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
- From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
- Subject: Re: what should an arch command return on an indigo?
- Message-ID: <1992Nov16.200138.24748@cc.ic.ac.uk>
- Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
- Nntp-Posting-Host: cscgc
- Reply-To: cmaae47@imperial.ac.uk
- Organization: Imperial College of Science, Technology and Medicine
- References: <grl.721642136@groucho>
- Date: Mon, 16 Nov 92 20:01:37 GMT
- Lines: 29
-
- In article <grl.721642136@groucho>, grl@brb.dmt.csiro.au (Greg Lehmann) writes:
- - SunOS has an arch command that returns a value like sun4 or sun3 depending on
- - what the application architecture of the machine is.
- -
- - Would mips be an appropriate value for an sgi arch on an indigo?
-
- Probably not, as there are so many other machines having a MIPS processor
- (DECstation, CDC 4000, ... ) and which will not run IRIX binaries. We use here
- sg3 and sg4, where the diffenrence is that type sg4 will not run on an R3000
- machine - we never had a sizeable IRIX 3.x installation.
-
- For system binaries inst sorts out quietly what is required, and the diskless
- client support requires separate share trees, so only user compiled binaries
- are affected.
-
- By the way, write all your scripts to use the ARCH environment variable rather
- than the command, and leave it to those who maintain the cshrc and profile
- files to get the variable from the command. This is necessary so that you
- can pass the -target- architecture to an install script, rather than having
- it use the -current- one.
-
- Thomas
-
- --
- *** This is the operative statement, all previous statements are inoperative.
- * email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
- * voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
- * snail: Imperial College of Science, Technology and Medicine
- * The Center for Computing Services, Kensington SW7 2BX, Great Britain
-