version 1.4, 1999/08/19 22:17:38 |
version 1.5, 2000/03/04 21:12:00 |
|
|
|
.\" $OpenBSD$ |
|
.\" |
.\" Copyright (c) 1994 SigmaSoft, Th. Lockert |
.\" Copyright (c) 1994 SigmaSoft, Th. Lockert |
.\" All rights reserved. |
.\" All rights reserved. |
.\" |
.\" |
|
|
.Op Fl a |
.Op Fl a |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm arch |
and |
and |
.Nm machine |
.Nm machine |
command displays the machine's architecture in slightly different ways. |
commands display the machine's architecture in slightly different ways. |
.Nm |
.Nm arch |
by default displays the application architecture, defined by both the |
by default displays the application architecture, defined by both the |
operating system and the instruction set architecture, while |
operating system and the instruction set architecture, while |
.Nm machine |
.Nm machine |
|
|
of the target architecture in build or configuration scripts |
of the target architecture in build or configuration scripts |
needing to work in cross-compilation environments. |
needing to work in cross-compilation environments. |
.Pp |
.Pp |
The following options are available to |
The options for |
.Nm arch : |
.Nm arch |
|
are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl k |
.It Fl k |
Display the kernel architecture instead of application |
Display the kernel architecture instead of application |
|
|
operating system prefixed. |
operating system prefixed. |
.El |
.El |
.Pp |
.Pp |
The |
The options for |
.Nm machine |
.Nm machine |
command accepts this option: |
are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl a |
.It Fl a |
Display the application architecture instead of the kernel architecture. |
Display the application architecture instead of the kernel architecture. |
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr uname 1 |
.Xr uname 1 |
.Sh HISTORY |
|
The |
|
.Nm |
|
command is |
|
.Ud . |
|