Portability and migration

The options in this category can help you maintain application behavior compatibility on past, current, and future hardware, operating systems and compilers, or help move your applications to an XL compiler with minimal change.
Table 1. Portability and migration options
Option name Description
-fpack-struct (-qalign)

Specifies the alignment of data objects in storage, which avoids performance problems with misaligned data.

-qxlcompatmacros

Defines the following legacy macros: C++ only begins__IBMCPP__, __xlC__, __xlC_ver__C++ only ends, C only begins__IBMC__, and __xlc__C only ends. This option helps you migrate programs from IBM® XL C/C++ for Linux for big endian distributions to IBM XL C/C++ for Linux, V13.1.5 for little endian distributions.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us