Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

Preface
CHAPTER 1
Getting Past the 4 Gigabyte Barrier
Beyond Large Address Spaces
CHAPTER 2
Major Features
Large Virtual Address Space
Large Files
64–bit Arithmetic
System Limitations Removed
Interoperability Issues
Kernel Memory Readers
/proc Restrictions
64–bit Libraries
Estimating the Effort of Conversion
CHAPTER 3
Comparing 32-bit Interfaces and 64–bit Interfaces
Application Programming Interfaces
Application Binary Interfaces
Compatibility Between 32-bit Applications and 64–bit Applications
Application Binaries
Application Source Code
Device Drivers
Which Solaris Operating Environment Are You Running?
CHAPTER 4
Converting Applications
Data Model
Implementing Single-Source Code
Feature Test Macros
<sys/types.h> File
<inttypes.h> File
lint for 32–bit and 64–bit Environments
Sign Extension
Use Pointer Arithmetic Instead of Address Arithmetic
Repacking a Structure
Specify Constant Types
Beware of Implicit Declaration
sizeof is an unsigned long
Use Casts to Show Your Intentions
Check Format String Conversion Operation
Other Considerations
Derived Types That Have Grown in Size
Use #ifdef for Explicit 32-bit Versus 64-bit Prototypes
Algorithmic Changes
Checklist for Getting Started
Sample Program
CHAPTER 5
Build Environment
Compiler Environments
32-bit and 64-bit Libraries
Linking Object Files
LD_LIBRARY_PATH Environment Variable
$ORIGIN Keyword
Packaging 32-bit and 64-bit Applications
Placement of Libraries and Programs
See “Application Naming Conventions” on page 50
Packaging Guidelines
Application Naming Conventions
Shell-Script Wrappers
/usr/lib/isaexec Binary File
isaexec(3c) Interface
Debugging 64-bit Applications
CHAPTER 6
SPARC V9 ABI Features
Stack Bias
Address Space Layout of the SPARC V9 ABI
Placement of Text and Data of the SPARC V9 ABI
Code Models of the SPARC V9 ABI
AMD64 ABI Features
Address Space Layout for amd64 Applications
Alignment Issues
Interprocess Communication
ELF and System Generation Tools
/proc Interface
Extensions to sysinfo(2)
libkvm and /dev/ksyms
libkstat Kernel Statistics
Changes to stdio
Performance Issues
64-bit Application Advantages
64-bit Application Disadvantages
System Call Issues
What Does EOVERFLOW Mean?
Beware ioctl()
APPENDIX A
Changes in Derived Types
APPENDIX B
Frequently Asked Questions (FAQs)
0 of .
Results for:
No results containing your search query
P. 1
Solaris Developer Guide

Solaris Developer Guide

Ratings: (0)|Views: 21|Likes:
Published by Arpit Gupta

More info:

Published by: Arpit Gupta on Sep 02, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/02/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 33 are not shown in this preview.
You're Reading a Free Preview
Pages 37 to 74 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->