Re: [ILUG] gcc libs question

From: John P. Looney (john at domain antefacto.com)
Date: Mon 18 Jun 2001 - 14:44:08 IST


On Mon, Jun 18, 2001 at 01:16:32PM +0000, Conor Daly mentioned:
> > I'd go looking for what library had "dlopen" in it. First thing would be
> > to RTFM, which down the bottom has;
> >
> > If this program were in a file named "foo.c", you would build the
> > program with the following command:
> >
> > gcc -rdynamic -o foo foo.c -ldl
>
> I could live with that (If I knew *which* FM to R)

 Well, in that case, it was looking for dlopen, so I looked at it's man
page.

> > Other things would be "use 'nm' on all the files in /lib and look for
> > something that exported dlopen()."
> But *this* is just what I really needed!

 It's a lot more effort. Actually, where could I find a list of what the
letters in nm means ? I get the impression that T say, is "exported" or
something.

Kate

-- 
 When I say 'free', I mean 'free': free from bond, of chain or command: 
to go where you will, even to Mordor, Saruman, if you desire. " 
    -- Gandalf, paraphrasing the choice between Free and Non-free software


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:42 GMT