[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Linking Libraries together

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


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