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: duplicate -lgcc --as-needed -lgcc_s --no-as-needed


On Thu, Jun 02, 2005 at 01:59:46PM +0200, Peter S. Mazinger wrote:
> Hello!
> 
> the sequence used for linking on x86 (but most archs will have it too)
> -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s 
> --no-as-needed
> contains duplicate. Is this really necessary?
> 
> Will the '--as-needed -lgcc_s --no-as-needed' ever apply?

> The missing symbols will be found in -lgcc.

That's not true.  The EH stuff is not in -lgcc, so if -lc needs it,
it wouldn't be found.

	Jakub


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