*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> arch (1)              
Title
Content
Arch
Section
 

ARCH(1)

Contents


NAME    [Toc]    [Back]

     arch, machine - print architecture type

SYNOPSIS    [Toc]    [Back]

     arch [-ks]
     machine [-a]

DESCRIPTION    [Toc]    [Back]

     The arch and machine commands display the  machine's  architecture in
     slightly  different  ways.  arch by default displays the application architecture,
 defined by both the operating system  and  the  instruction set architecture,
  while  machine displays the kernel architecture
(without the
     operating system part).  Note that both commands output  the
target architecture
  as  opposed  to  uname(1) which describes the host.
This is useful
     for dynamic discovery of the target architecture in build or
configuration
  scripts  needing to work in cross-compilation environments.

     The options for arch are as follows:

     -k      Display the kernel architecture instead of  application architecture.


     -s       Display  the  chosen  architecture in a short form,
i.e., without
             the operating system prefixed.

     The options for machine are as follows:

     -a      Display the application architecture instead of  the
kernel architecture.

SEE ALSO    [Toc]    [Back]

      
      
     uname(1)

OpenBSD      3.6                           June      22,     1996
[ Back ]
 Similar pages
Name OS Title
machine Tru64 return architecture type of machine
arch Linux print machine architecture
font2c Linux Write PostScript Type 0 or Type 1 font as C code
DXmPrintWgtAugmentList Tru64 Defines additional print formats and lets you add new options to the print widget option menus.
XmRepTypeGetNameList HP-UX A representation type manager function that generates a list of values for a representation type
XmRepTypeGetId HP-UX A representation type manager function that retrieves the identification number of a representation type
XmRepTypeValidValue IRIX A representation type manager function that tests the validity of a numerical value of a representation type r
XmRepTypeValidValue HP-UX A representation type manager function that tests the validity of a numerical value of a representation type r
XmRepTypeGetNameList Tru64 A representation type manager function that generates a list of values for a representation type
XmRepTypeGetId IRIX A representation type manager function that retrieves the identification number of a representation type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service