2 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
3 .\" Public domain: may be freely distributed.
4 .TH ARCH 1 "4 July 1997" "Linux 2.0" "Linux Programmer's Manual"
6 arch \- print machine architecture
14 On current Linux systems,
16 prints things such as "i386", "i486", "i586", "alpha", "sparc",
17 "arm", "m68k", "mips", "ppc".
23 .\" arch prints the machine part of the system_utsname struct
24 .\" This struct is defined in version.c, and this field is
25 .\" initialized with UTS_MACHINE, which is defined as $ARCH
26 .\" in the main Makefile.
27 .\" That gives the possibilities
28 .\" alpha arm i386 m68k mips ppc sparc sparc64
30 .\" If Makefile is not edited, ARCH is guessed by
31 .\" ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)
32 .\" Then how come we get these i586 values?
33 .\" Well, the routine check_bugs() does system_utsname.machine[1] = '0' + x86;
34 .\" (called in init/main.c, defined in ./include/asm-i386/bugs.h)