IBM Support

Statically linking libC.a on AIX

Question & Answer


Question

Can you statically link libC.a into an application?

Answer

Statically linking to libC.a is not supported. libC.a can only be linked dynamically.

[{"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"C\/C++ Runtime","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"All Editions","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
08 August 2018

UID

swg21330119