This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++ static object not created


> 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.

Regards
K. Gy.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]