OpenSolaris

You are not signed in. Sign in or register.
  • Port Endianness

The decision was to make the port MSB despite the fact that the original (circa Solaris 2.5.1) port was LSB.

  • Names

There are number of names used to identify platform architecture, cpu architecture, etc. Solaris source tree uses these names extensively and Solaris itself. Agreed choices are

Command32 bit64 bit
isainfo -nppcppc
isainfo -kppcppc64
uname -pppcppc64
isalistppcppc64 ppc
uname -mchrp*chrp*

* For CHRP compliant machines

  • Predefined C Preprocessor symbols
__powerpc and __powerpc64
__powerpc__ and __powerpc64__  /* for GNU compatibility */
__ppc and __ppc64              /* for shortcuts */

All the *64 symbols are defined only when compiling for 64 bit environment