This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why a specific gcc runtime is needed?


Andrew Haley wrote:
Ian Lance Taylor writes:
> Lin George <george4academic@yahoo.com> writes:
> > > Do you think to link with static libc is a solution?


For an alternative view, see http://people.redhat.com/drepper/no_static_linking.html

Andrew.
In addition to the facts listed there, one should also have in mind: The libc is strongly dependent on the underlying system's feature set. A staticly linked executable might not be able to make use of new system features and, way more important, if features underneath are dropped, the libc might not be able to provide certain functionality (without adoption) and thus the statically linked executable will fail to run on a newer system.

-Sven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]