Upload Tizen:Base source
[framework/base/util-linux-ng.git] / sys-utils / arch.1
1 .\" arch.1 -- 
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"
5 .SH NAME
6 arch \- print machine architecture
7 .SH SYNOPSIS
8 .B arch
9 .SH DESCRIPTION
10 .B arch
11 is deprecated command since release util-linux 2.13. Use
12 .BR "uname -m"
13 or use
14 .BR arch
15 from the coreutils package.
16
17 On current Linux systems,
18 .B arch
19 prints things such as "i386", "i486", "i586", "alpha", "sparc",
20 "arm", "m68k", "mips", "ppc".
21 .SH SEE ALSO
22 .BR uname (1),
23 .BR uname (2)
24 .SH AVAILABILITY
25 The arch command is part of the util-linux-ng package and is available from
26 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
27 .\"
28 .\" Details:
29 .\" arch prints the machine part of the system_utsname struct
30 .\" This struct is defined in version.c, and this field is
31 .\" initialized with UTS_MACHINE, which is defined as $ARCH
32 .\" in the main Makefile.
33 .\" That gives the possibilities 
34 .\" alpha    arm      i386     m68k     mips     ppc      sparc    sparc64
35 .\"
36 .\" If Makefile is not edited, ARCH is guessed by
37 .\" ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)
38 .\" Then how come we get these i586 values?
39 .\" Well, the routine check_bugs() does system_utsname.machine[1] = '0' + x86;
40 .\" (called in init/main.c, defined in ./include/asm-i386/bugs.h)