• 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
Command    32 bit 64 bit 
isainfo -n   ppc       ppc     
isainfo -k   ppc       ppc64   
uname -p     ppc       ppc64   
isalist      ppc       ppc64 ppc 
uname -m     chrp\*      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

last modified by admin on 2009/10/26 12:10
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.