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]

Re: Statically linked binary & NSS


Ulrich Drepper writes:
 > Lionel Cons <Lionel.Cons@cern.ch> writes:
 > 
 > > I would like to create a statically linked binary but it seems that
 > > the -static flag is not enough.
 > 
 > Using NSS and -static contradict each other.  NSS always requires
 > dynamic loading.

Why can't I link all the libnss_* libraries statically so that a
dynamic loading is not needed anymore? I don't see any technical
problem that would prevent this. The code calling the right routines
in the right libraries just has to be careful...

________________________________________________________
Lionel Cons        http://wwwinfo.cern.ch/~cons
CERN               http://www.cern.ch
 
Boren's Laws:
	When in charge, ponder.
	When in trouble, delegate.
	When in doubt, mumble.


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