1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
.\" arch.1 --
.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
.\" Public domain: may be freely distributed.
.\"
.\" Original translation is provided by Koso Fukuba <koso@ga2.so-net.or.jp>
.\" Modified Tue 23 Jun 1998 by Takeo Nakano <nakano@apm.seikei.ac.jp>
.\" Updated & Modified Thu 7 Oct 1999 by Takeo Nakano
.\"
.TH ARCH 1 "4 July 1997" "Linux 2.0" "Linux Programmer's Manual"
.SH 名前
arch \- マシンアーキテクチャーの表示
.SH 書式
.B arch
.SH 説明
.B arch
は、
.B uname \-m
と等価なコマンドである。
現在の Linux システムでは、
.B arch
が表示するのは以下の通り: "i386", "i486", "i586", "alpha", "sparc",
"arm", "m68k", "mips", "ppc".
.SH 関連項目
.BR uname (1),
.BR uname (2)
.\"
.\" Details:
.\" arch prints the machine part of the system_utsname struct
.\" This struct is defined in version.c, and this field is
.\" initialized with UTS_MACHINE, which is defined as $ARCH
.\" in the main Makefile.
.\" That gives the possibilities
.\" alpha arm i386 m68k mips ppc sparc sparc64
.\"
.\" If Makefile is not edited, ARCH is guessed by
.\" ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)
.\" Then how come we get these i586 values?
.\" Well, the routine check_bugs() does system_utsname.machine[1] = '0' + x86;
.\" (called in init/main.c, defined in ./include/asm-i386/bugs.h)
|