brtl

Option Type Default Value #pragma options C C++
-flag - - x x

Syntax

    -brtl

Purpose
Tells the linkage editor to perform library searches of both .a and .so library files.

Notes
This option affects all library searches.

For a library name and path specied by the -l and -L options, the linkage editor searches, if they exist, the .so library first and then the .a library.

Example
To compile myprogram.c searching both shared and static versions of IBM C and C++ Compilers libraries, enter:

xlC myprogram.c -brtl


List of Compiler Options and Their Defaults
Options that Specify Linkage Options
static, dynamic Compiler Option