On Sat, Mar 16, 2002 at 01:02:51AM +0100, Andreas Schwab wrote:
> Alexandre Oliva <[EMAIL PROTECTED]> 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
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool