On Nov 2, 4:53 pm, Louis Lavery <Lo
...@LaverREMOVE.demon.co.uk> wrote:
> Hello,
> Is there a simple way to check that a C++ lib is complete,
> that is that it does not have any external dependencies?
{ edits: quoted sig and banner removed. please don't quote extraneous material
such as signatures or the banner (which is added to every article). -mod }
Hi,
A lib is something (I guess you mean a static library: the 'lib' is
vague) created by the linker... it's no more C++, may use some other
libraries or not (and again this definition is not precise at 100%
because can be linked statically with some of them).
Replying to your post in Windows you can use dumpbin /dependencies if
I remember well. In Linux there is another command: check the manual.
But... if the lib is only a wrapper to a dynamic loaded library you
are again in trouble.
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]