Article View: comp.sys.sun
Article #14234Re: Host IDs and architectures
From: Steve Smith
Date: Tue, 13 Mar 1990 17:00
Date: Tue, 13 Mar 1990 17:00
8 lines
953 bytes
953 bytes
The masks you need to determine machine and architecture from the host id are in /usr/include/machine/cpu.h for your host, and unader /usr/include/sun*/cpu.h for other architectures. For example, I am on a sun 3 and the files <machine/cpu.h> and <sun3/cpu.h> are identical. If you want to know about sun 4's look under /usr/include/sun4/cpu.h. The mask for the architecture is CPU_ARCH and the mask for the machine type is CPU_MACH. It makes sense after a little examination.
Technical Details
Message-ID:
<5748@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: island!crete!sjs@cad.berkeley.edu (Steve Smith) Newsgroups: comp.sys.sun Subject: Re: Host IDs and architectures Keywords: Miscellaneous Message-ID: <5748@brazos.Rice.edu> Date: 13 Mar 90 17:00:33 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 8 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n79 X-Sun-Spots-Digest: Volume 9, Issue 81, message 5