This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with static linking
On 07/16/2009 09:08 PM, Zachary Turner wrote:
>
> There's also much less to deal with from a Q/A and tech support
> perspective if you use static linking with a closed source
> application, since you can produce 1 binary which works across
> multiple distributions and kernels without the user compiling it,
> which is what I'm dealing with.
That's more of an assumption than an advantage. It may well appply to
some libraries, but libc is really part of the host OS. Anyone
linking statically with libc on GNU/Linux is probably making a
mistake.
Andrew.