Zachary Turner wrote:
> Hello, I've been trying to write a program that links to static
> libraries, and I've been having a lot of difficulties.  Was wondering
> if someone can help me identify what's going wrong.
> 
> The codebase is large, but is new to linux.  It was originally
> developed on windows and then ported to linux.  It makes heavy use of
> C++, STL, and boost and we'd like to (if possible) link *everything*
> statically.  This means libc, libgcc, libstdc++, boost, libpthread,
> etc.

Ian Taylor has explained that the messages about libc are spurious, so
you can either ignore those or install some kind of a Valgrind exception.

However, I really implore you: by all means link statically to everything
else, but leave libc dynamically linked.  I'm not aware of any reason not
to link libc dynamically, and not doing so leads to a ton of problems.

Andrew.

Reply via email to