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: should libgcc depend on libc?


On Sat, Jul 09, 2005 at 07:48:47PM +0000, Thorsten Glaser wrote:
> Should I really not use -nostandardlibs for libgcc_s ?

Yes, I'm pretty sure you should not do that.

> I just got a linker warning because I had bumped libc
> from .36.1 to .37.0 and am recompiling gcc... this
> yields executables linking against libgcc_s (.1.1)
> and libc (.37.0 AND .36.1). No problems, but a warning.

Welcome to the pain of bumping so versions.

> Also, libgcc could be used with libc-replacements this
> way (not truly an issue with libgcc.so, but think of
> bootloaders).
> 
> Do I overlook something?

Static linking?  That would seem to be standard-operating procedure
with bootloaders.


r~


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