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

Re: The GEL lib (NILS read this!)



Thus spake George:
> On Thu, Feb 10, 2000 at 10:06:36AM -0500, Nils Barth wrote:
> > er, what should I put in for ``libblah.a''?
> > when I tried grep * -ire tgetent, it showed up in:
> > configure.in
> > genius/genius.c
> > 
> > sorry, I'm not familiar with `nm'
> 
> Oh I mean in /usr/lib
> 
> nm will print out the symbols defined by a particular library so for example
> 
> nm /usr/lib/libtermcap.a | grep tgetent
> 
> will return the entry (if it exists) for the tgetent symbol in libtermcap.  I
> just wanted to know which library defines this call on your system.  BTW,
> what system do you have?

Oh, this what you want?
/usr/lib$ nm libncurses* libreadline* | grep tgetent
00026750 T tgetent
00026750 T tgetent
         U tgetent
         U tgetent
         U tgetent
         U tgetent

I'm running RedHat 6.0 on an i686.

I don't have libtermcap* in /usr/lib (or anywhere else, I don't think).

Hope this helps.
-- 
  -nils