Path: 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 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 and 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.