This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: printing exceptions?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Richard Henderson <rth at redhat dot com>, tromey at redhat dot com, Jeff Sturm <jsturm at one-point dot com>, Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, Java Discuss List <java at gcc dot gnu dot org>, libtool at gnu dot org, gcc at gcc dot gnu dot org
- Date: 15 Mar 2002 21:11:39 -0300
- Subject: Re: printing exceptions?
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.10.10203052317220.6889-100000@mars.deadcafe.org><orsn7dtpij.fsf@free.redhat.lsd.ic.unicamp.br><87u1rt4948.fsf@creche.redhat.com><orwuwps5h1.fsf@free.redhat.lsd.ic.unicamp.br><87664947pt.fsf@creche.redhat.com><orpu25sb8g.fsf@free.redhat.lsd.ic.unicamp.br><20020315152842.A26146@redhat.com><orelilqu9g.fsf@free.redhat.lsd.ic.unicamp.br><jen0x95qhg.fsf@sykes.suse.de>
On Mar 15, 2002, Andreas Schwab <schwab@suse.de> wrote:
> Alexandre Oliva <aoliva@redhat.com> writes:
> |> However, I kind of fail to see the point of having -lgcc before -lc.
> The point of having -lgcc before -lc is that -lgcc can add references to
> -lc functions that were not referenced before.
Oh! Yes, indeed. I forgot about that. Thanks for the reminder.
So, -lgcc -lc -lgcc is indeed one of the special cases that libtool is
going to have to learn to live with. Perhaps it could learn to treat
them as a unit, though...
Fortunately, libtool only peeks into flags implicitly passed to the
linker in non-C tags, which means we're only going to get -lgcc_s
(because of the implicit -shared-libgcc in g++ and gcj), and things
will Just Work (TM).
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer