Gwyn's Directory Library
KAY
kay at hjuxa.UUCP
Sat Nov 19 06:37:44 AEST 1988
I was going to use mail but it bounced. Sorry if I step on any toes.
In article <283 at ontenv.UUCP>, soley at ontenv.UUCP (Norman S. Soley) writes:
> I've been trying to get Doug Gwyn's BSD/POSIX Directory access library
> working on a SVR2 binary licence box (an NCR Tower 32/600 to be exact)
> so far with little success. The documentation says that you can add
> the object files to the libc.a library (fine OK, I can do this) but
> then says some systems may require a rebuild of the symbol table after
> doing that and suggests ranlib (which I don't have), I've RTFMed for
> ar and ld and can see no answers there, any suggestions?
The BSD 'ranlib' utility was incorporated into the standard 'ar' in System V
(even before paging etc). If you have any object files in the library, a
symbol table that 'ld' can read is written into the pseudo entry "/" in the
archive (actually 'ranlib' uses a different name for the pseudo arcive).
This is not obvious until the second reading of the code and much later
reading of the FM.
Since you are adding object files to a object library on SVr2 rather than
BSD, this symbol table is automatically updated and the linker _should_ be
able to find the routines you have added. There is no other utility to worry
about. Relax, be happy!
> Thanks, Norm
You're welcome. Hope this helps. Good luck on the port.
Paul Kay
More information about the Comp.unix.questions
mailing list