SPARC64(8)

NAME
sparc64 - create a 64bit sparc environment on sparc64

SYNOPSIS
sparc64 [ -q ] program [ arguments ]

DESCRIPTION
sparc64 creates a 64bit sparc environment for specified program, usually shell. The environment is inherited by all child processes of that program, unless they set a different personality. This can be useful for temporarily enabling 64bit environment from within a 32bit sparc environment created by sparc32(8).

COMMAND-LINE OPTIONS

-q  Suppresses error messages. Can be used to test whether the machine has 64bit CPU (no matter if it is running in sparc32(8) environment or not). If -q is given, then you don't have to specify the program. In this case sparc64 will return 0 if it would succeed to switch into the 64bit sparc environment.

EXAMPLES
sparc64 /bin/sh if sparc64 -q; echo 64bit CPU; fi

SEE ALSO
sparc32(8)