On 10/5/10 5:32 AM, T. Horsnell wrote:
john wendel wrote:
> On 10/04/2010 09:41 AM, Tom Horsley wrote:
>> On Mon, 04 Oct 2010 17:24:51 +0100
>> T. Horsnell wrote:
>>
>>> Is it possible to create a static (.a) version
>>> of a library from the dynamic (.so) one, or to
>>> create a static executable when only shared libs
>>> are available?
>> Nope, and to all intents and purposes, it is pretty
>> much impossible to static link any program these
>> days with so many parts of glibc now dlopen()ing
>> various plugins for network protocols, or pam
>> user access info, etc.
> Google for "make-static". It's a hack, but it might do the job for
you.
>
> Regards,
>
> John
>
Thanks very much. I'll have a play.
You have to keep in mind that all of the
remaining libraries might have
to be at the same level as your build system with statics...
James McKenzie