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

Re: PW#5-11: Policy on stripping static libraries



joost@rulcmc.leidenuniv.nl (joost witteveen)  wrote on 15.01.98 in <[🔎] m0xsny2-000CP6C@rulcmc.leidenuniv.nl>:

> > >> 	* a shared unstripped lib, compiled with -DDEBUG, with the same
> > >> 	  name.soname of the runtime lib, installed in a different dir 	
> > >> 	   (/usr/lib/debug) which *ISN'T* in /etc/ld.so.conf
> > >
> > > Why should this not be in ld.so.conf? What's your reasoning behind that?
> >
> > There is no need to force all users on a system to load a debug library
> > which is really needed only from _one_ user.
>
> Please, note that the debugging info is _not_ used/loaded/whatever
> if you don't do debugging. Running a programme while using the libs

See the first line above. The idea is that, if the library supports that,  
the debugging version includes extra debugging code, not only symbols.

(Which makes the question of static libs more complicated. Sorry. You'd  
need one with and one without the extra code.)


MfG Kai


Reply to: