inlglue

Option Type Default Value #pragma options C C++
-qoption noinlglue INLGLUE x x

Syntax

    -qinlglue | -qnoinlglue 
    INLGLUE | NOINLGLUE 

Purpose
Generates fast external linkage by inlining the pointer glue code necessary to make a call to an external function or a call through a function pointer.

Notes
Glue code, generated by the linker, is used for passing control between two external functions, or when you call functions through a pointer. It is also used to implement C++ virtual function calls. Therefore the -qinlglue option only affects function calls through pointers or calls to an external compilation unit. For calls to an external function, you should specify that the function is imported by using, for example, the -qprocimported option.

The inlining of glue code can cause the size of code to grow. This can be overridden by specifying the -qcompact option, thereby disabling the -qinlglue option.



List of Batch Compiler Options and Their Defaults
Options that Specify Linkage Options
Equivalent Batch Compile-Link and Incremental Build Options