This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: `others' and static NSS


It should be simple enough.

You can process nss/function.def with:

	sed -n 's/DEFINE_ENT[^(]*(\([a-z0-9_]*\),.*$/\1/p' | sort | uniq

to get the list of libraries needed.  This can be done in Makerules,
referring to $(..)nss/function.def to make sure it happens as needed
(though obviously the nss subdir will have to have been built already anyway).

If you have GNU ld, even though not ELF, you can make a linker script
listing all the libnss_*.a libraries.  That script could be installed as
libc.a with the actual libc.a living elsewhere (e.g. libcrt.a) as the Hurd
does it.


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