This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: '-static' with still one ".so"?
- From: John Love-Jensen <eljay at adobe dot com>
- To: Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Wed, 03 May 2006 06:22:48 -0500
- Subject: 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