11.10. Porting Applications

When moving an application from one type of system to another, use the following procedure to phase in the types of optimization that are most effective:

Develop, port, and debug the application without optimization.
Use the migration and warning options to flag any potential source issues. The +M option will flag migration warnings. An option of 0 to +M flags K&R C to ANSI migration issues, a 1 option flags PA-RISC to Itanium migration issues, and a 2 option flags 64-bit migration issues. The +w option will turn on all compiler warnings, which can be very useful to detect subtle bugs that may occur in code.
Be aware that all HP-UX systems (PA-RISC and Itanium) are big endian, which means that numbers in memory ...

Get HP-UX 11i Tuning and Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.