This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with static linking
Andrew Haley <aph@redhat.com> writes:
>> [...] 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.
> [...]
> 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.
If they actually encounter that ton of problems, then they will
change their minds about libc, regardless of preemptive imploring.
- FChE