This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printing exceptions?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]