| United States-English |
|
|
|
![]() |
HP-UX 64-bit Porting and Transition Guide: HP 9000 Computers > Chapter 4 Transitioning C and
aC++ Programs to 64-bit Mode Step 1: Identify Programs that Need to Compile to 64-bit Mode |
|
The decision to compile in 64-bit mode depends on your application's virtual memory requirements. Applications requiring more than .75GB of private data or more than 1.75GB of shared memory should transition to 64-bit mode. In 32-bit mode, the largest address space, by default, that a single process can allocate is as follows:
Applications using the following features to extend the address space in 32-bit mode should also transition to 64-bit mode:
If your application uses data files that are greater than 2GB, you can use the large file interface64() routines in 32-bit mode on HP-UX 32-bit and 64-bit platforms. These routines are known as the *64() APIs. To access files larger than 2 GB using standard I/O routines, you must transition to 64-bit mode. 64-bit main programs can only call 64-bit libraries. Therefore, library providers for 64-bit applications must transition their libraries to 64-bit mode. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||