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: '-static' with still one ".so"?


Hi Philippe,

> I would like to create a static binary but nevertheless link to one
> ".so" (in a perfect world, I would prefer it to be fully static, but
> this one a commercial library for which there is no static version).

You can't.

The application that links to your .a needs to link to the necessary .so.

HTH,
--Eljay


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