Shared library annoyance with gcc-3_0-branch

Mark Mitchell mark@codesourcery.com
Mon Feb 19 11:14:00 GMT 2001


>>>>> "Eric" == Eric W Biederman <ebiederm@xmission.com> writes:

    Eric> O.k.  What happens when you take that GCC and build a binary
    Eric> for use during the unix bootstrap.  init, /bin/sh, or
    Eric> something called from your initial scripts.

It works fine.  Because you didn't link against any shared libraries,
and because you didn't specify -shared-libgcc, it gets the static
version of libgcc linked in.  

There should be no difference for such programs.

Thanks,

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



More information about the Gcc mailing list