gcc 3.x test matrix
Jakub Jelinek
jakub@redhat.com
Wed Sep 5 02:28:00 GMT 2001
On Tue, Sep 04, 2001 at 09:57:13AM -0700, Richard Henderson wrote:
> On Tue, Sep 04, 2001 at 02:18:43PM +0200, Jakub Jelinek wrote:
> > Another option could be to have libgcc_d.a which would be libgcc.a minus
> > frame.o (or frame-dwarf2.o) and just modify specs so that if not -static,
> > -lgcc_d -lc -lgcc_d is used instead of -lgcc -lc -lgcc.
>
> Or just "-lc -gcc", which seems better to me.
That's problematic. At least libgcc.a(_bb.o) contains reference to atexit,
which is found in libc_nonshared.a, so if nothing before -lc needs atexit
and _bb.o is brought in, it would not be satisfied.
So it would have to be
%{!static:-lc -lgcc -lc_nonshared}%{static:-lgcc -lc -lgcc}
Jakub
More information about the Libc-alpha
mailing list