Well, Almost .. Re: [ale] Linking Libraries together

John Mills johnmills at speakeasy.net
Wed Nov 7 10:21:12 EST 2007


ALErs -

With a few msec. more thought after my post, I realized I had set a target
here that is not realistic for any reasonably secure, functional OS (for
anything much beyond a device driver).

I am actually trying to do something sensible and (I hope) attainable: I
want to build a Linux executable that can run in a host with either
'libc-2.4' or 'libc-2.6' installed, but not necessarily both.

OK - Thanks.

 - Mills

On Wed, 7 Nov 2007, John Mills wrote:

> I want to build local versions of some libraries, and link them to be
> self-contained overall: without external references.
 
> Suppose the standard 'libfoo.so' depends only on 'libbar.so', which
> depends only on 'libblah.a', and I have made corresponding 'libnewfoo.a',
> 'libnewbar.a', and 'libnewblah.a'. How can I link them to make a
> 'libfoobarblah.a' which depends on nothing external?
 
> I expect that if I run 'nm' on the new lib, I would see no 'U' entries
> listed.



More information about the Ale mailing list