objmodel

Option Type Default Value #pragma options C C++
-qoption =compat #pragma
object_model(option)
  x

Syntax

    -qobjmodel=compat | ibm 
#pragma object_model(compat|ibm|pop)
     

Purpose
Sets the type of object model.

Notes
Usage modes for objmodel are:

-qobjmodel=compat Uses the xlC object model compatible with previous versions of the compiler.
-qobjmodel=ibm Uses the new object model.

Example
To compile myprogram.C with the ibm object model, enter:

xlC myprogram.C -qobjmodel=ibm


Object Models


List of Batch Compiler Options and Their Defaults/a>
Options that Define the Compiler Object Code Produced
Equivalent Batch Compile-Link and Incremental Build Options