64-Bit Transition Guide
PDF
Companion Files
Introduction
Should You Recompile Your Application as a 64-Bit Executable?
Common Misconceptions
Factors to Consider
Alternatives to 64-Bit Computing
Using mmap to Simulate a Large Address Space
Major 64-Bit Changes
Tools Changes
Data Type Changes
Device Driver Changes
Making Code 64-Bit Clean
General Programming Tips
Data Type and Alignment Tips
Avoiding Pointer-to-Integer Conversion
Working with Bits and Bitmasks
Tools Tips
Alignment Pragmas
Sign Extension Rules for C and C-derived Languages
Velocity Engine and SSE Alignment Tips
Porting Assembly Language Code
Compiling 64-Bit Code
Compiling 64-Bit Code Using GCC
Compiling 64-Bit Code Using Xcode
Historical Footnote: Compiling 64-Bit Code for Mac OS X v10.4
High-Level 64-Bit API Support
High-Level API Changes at a Glance
Technology Area Changes at a Glance
Cross-Architecture Plug-in Support
Choosing a Helper Host Architecture Model
Using Interprocess Communication
Launching the Helper Host
Appendix A: Simulating a 64-Bit Address Space with mmap and munmap
Revision History