Shared library annoyance with gcc-3_0-branch

Mark Mitchell mark@codesourcery.com
Mon Feb 19 23:50:00 GMT 2001


>>>>> "Daniel" == Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:

    Daniel> Don't link against any shared libraries?  On at least
    Daniel> Linux systems, binaries in /bin and /sbin are not
    Daniel> statically linked.  -lc is implied.  My concern is whether

Then there shouldn't be any additional problem.  Wherever libc goes,
so must libgcc_s.so go.

    Daniel> libc will be linked against libgcc.so, or whether
    Daniel> applications using it will get their own copy.

I'm sorry.  I really don't understand the details of linker semantics
well enough to answer this.  I would assume libc would be linked
against libgcc, but it might not be.  I'm not sure.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list