tech-userlevel archive

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

Re: building shlibs with -lc (was: Re: 64 bit time_t changes)



On Sat, Mar 29, 2008 at 02:03:13AM +0000, David Holland wrote:
> In base we'll have to add -lc explicitly in bsd.lib.mk, but I don't
> see any reason that should be difficult or cause problems...

The -lc should be recorded as dependency only, but otherwise it doesn't
have to be requested to link. Basically, the special casing of -lc
should just disappear. If you want to have a debugging or profiling
libc, it is much better to put it in a subdirectory and use
LD_LIBRARY_PATH or RPATH to load it, which just makes it work.

Joerg


Home | Main Index | Thread Index | Old Index