Patch for egcs 1.0.2
H.J. Lu
hjl@lucon.org
Mon Feb 9 11:31:00 GMT 1998
>
>
> In message < m0y0rK7-0004ecC@ocean.lucon.org >you write:
> > Hi,
> >
> > I'd like to see this in egcs 1.0.2. The reason for this is
> > glibc 2.1 is versioned and the dynamic linker needs to know
> > which version of libc the shared library is compiled against.
> >
> > Thanks.
> >
> >
> > --
> > H.J. Lu (hjl@gnu.org)
> > -
> > Sat Jan 10 14:03:43 1998 H.J. Lu (hjl@gnu.org)
> >
> > * config/linux.h (LIB_SPEC): Add -lc for -shared if
> > USE_GNULIBC_1 is not defined.
> > * config/sparc/linux.h; Ditto.
> >
> > * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
> >
> > * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
> > USE_GNULIBC_1 is not defined.
> HJ, these aren't even in the snapshots, and thus haven't been tested
> in any way shape or form by folks on the egcs list.
>
> As far as I know, this is the first time anyone on this list has
> ever seen these patches.
>
I forgot about it. I have used it for a while. But people who use
glibc 2.1 needs it. Otherwise, they will run into many problems.
BTW, it is from a glibc 2.1 bug report.
--
H.J. Lu (hjl@gnu.org)
More information about the Gcc
mailing list