c++ static object not created

Kövesdi György kgy@deverto.hu
Thu Nov 20 12:37:00 GMT 2008

> It's doing what it's supposed to do.  When you link against a static
> library, an objects is only pulled into the executable if there's a
> reference to it.

Is there a possibility to force linking the unreferenced objects too? I didn't 
find such option for the linker.

K. Gy.

More information about the Gcc-help mailing list