Go to main content

Oracle® Solaris 64-bit Developer's Guide

Exit Print View

Updated: November 2020
 
 

3.4 Show That 64-bit and 32-bit Applications Run on Your Oracle Solaris 11 System

Oracle Solaris 11 is a 64-bit only OS. However, you can still run your 32-bit applications on the 64-bit OS. The isainfo command indicates if your system supports 32-bit and 64-bit applications.

The following is an example of the isainfo command executed on an UltraSPARC system running the 64-bit OS:

$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
64-bit sparcv9 applications
        crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi 
        des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc 
32-bit sparc applications
        crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi 
        des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32

When the same command is run on an x86 system running the 64-bit OS:

$ isainfo -v
64-bit amd64 applications
32-bit i386 applications
64-bit amd64 applications
        ssse3 ahf cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu 
32-bit i386 applications
        ssse3 ahf cx16 sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu

Note -  Not all x86 systems are capable of running the 64-bit kernel. x86 systems which are not capable of running the 64-bit kernel cannot run Oracle Solaris 11.

One useful option of the isainfo command is the –n option, which prints the native instruction set of the running platform:

$ isainfo -n
sparcv9

The –b option prints the number of bits in the address space of the corresponding native applications environment:

$ echo "Welcome to "`isainfo -b`"-bit Oracle Solaris"
Welcome to 64-bit Oracle Solaris

For more information, see the isainfo(1) man page.

Applications that must run on earlier versions of the Oracle Solaris can ascertain whether 64-bit capabilities are available. Check the output of uname(1) or check for the existence of /usr/bin/isainfo.

Libraries that depend on instruction set extensions should use the hardware capability facility of the dynamic linker. Use the isainfo command to ascertain the instruction set extensions on the current platform. For more information, see Generating the Output File in Oracle Solaris 11.4 Linkers and Libraries Guide.

$ isainfo -x
amd64: sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu
i386: sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu