tech-toolchain archive

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

Linking libc into shared libarries (was: CVS commit: src/share/mk)



Hi Christos,

On Sat, Apr 26, 2008 at 08:03:44PM +0000, Christos Zoulas wrote:
> 
> Module Name:  src
> Committed By: christos
> Date:         Sat Apr 26 20:03:44 UTC 2008
> 
> Modified Files:
>       src/share/mk: bsd.hostprog.mk bsd.lib.mk
> 
> Log Message:
> make all shared libraries depend on libc.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.50 -r1.51 src/share/mk/bsd.hostprog.mk
> cvs rdiff -r1.273 -r1.274 src/share/mk/bsd.lib.mk

Thank you for linking libc into shared libraries.
There were some further changes to exclude the gcc libraries, but
I took this mail to reply to because that was the start.

Hmmm, what about other shared libaries which doesn't use the bsd make,
e.g. gmake or a bsd make which doesn't use the /usr/share/mk rules?
Shouldn't they be also linked against libc?

Can this be done in the linker itself and how do other OS handle this?

Regards,
Bernd



Home | Main Index | Thread Index | Old Index