[ale] Linking Libraries together

John Mills johnmills at speakeasy.net
Wed Nov 7 09:55:50 EST 2007


All -

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.

TIA.

 - John Mills
   john.m.mills at alum.mit.edu



More information about the Ale mailing list