tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: libgcc



> 
> > Libc on Linux does not have a dependency on libgcc_s.so; I'm not sure
> why
> > NetBSD should need one.
> 
> They have different linkers than ours, don't they?
> 
No, they all use the GNU linker -- not that that has anything to do with it.

> If I read the latest GCC source correctly, libraries built with -shared
> are
> linked only with libgcc.a if the given platform supports --eh-frame-hdr.
> Otherwise shared libraries get linked with libgcc_s.so.
> 

So maybe the configury is broken and should be fixed.  The point is that
there's nothing in a correctly configured libgcc_s.so that libc needs.

R.




Home | Main Index | Thread Index | Old Index