Sun Microsystems' Solaris 64-bit Developer's Guide explains how to port C and C++ code from the 32-bit to the 64-bit LP64 model.
This guide is for developers of C and C++ applications that run on the 64-bit Solaris OS. It describes the differences between the 32-bit and 64-bit Solaris interfaces, the LP64 data model, and the changes needed to convert source code to the 64-bit model.
The guide covers the 64-bit data model, the 32-bit and 64-bit interface differences, porting source code, and the 64-bit ABI, including the SPARC V9 ABI and the 64-bit execution environment. This manual is written in Japanese.
| Data model | LP64 |
|---|---|
| Pointer size | 64-bit |
The 64-bit Solaris interface uses the LP64 data model, in which long and pointers are 64 bits wide.
Use the 64-bit libc.a and the 64-bit execution environment, which supports memory areas larger than 2G.
uname -p reports sparc, not the 64-bit kernel name.