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 Sat, Mar 16, 2002 at 01:02:51AM +0100, Andreas Schwab 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.  If you have -lgcc only
> after -lc those references cannot be resolved in a static link.

Though for !static !shared-libgcc, I think:
-lc -lgcc -lc_nonshared
is best, so that symbols are preferably satisfied from shared libc.

	Jakub


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