Connect, learn, share, and engage with IBM Power.
Originally posted by: ChristineLi
A new suboption xllibs has been added to the -qstaticlink option starting from the February 2014 Update for XL C/C++ for Linux, V12.1 (V12.1.0.6) and XL Fortran for Linux, V14.1 (V14.1.0.6).
The -qstaticlink option controls whether static or shared runtime libraries are linked into an application.
When you specify -qstaticlink without suboptions, only static libraries are linked with the object file. When you specify -qnostaticlink without suboptions, shared libraries are linked with the object file. When you specify -qstaticlink=xllibs, the compiler links the static version of the XL compiler libraries. When you specify -qnostaticlink=xllibs, the compiler links the shared version of the XL compiler libraries.
Conflicting compiler options are resolved as follows:
Notes:
Copy