dynamic linking question

James E Wilson wilson@specifixinc.com
Sat Sep 4 00:42:00 GMT 2004


Jim Norris wrote:
> I'm trying to find documentation on how to dynamically link to a shared
> object at run time. I found something that describes how to do it in C
> using gcc but that's not exactly what I need.

GCC doesn't do any of this stuff.  Try looking at the static linker 
(binutils) and the dynamic linker (glibc for linux).

Also, you might want to look at the target ABI documentation, but since 
you didn't mention the target, I can't point you at it.  Every target 
does this differently.  Assuming this is linux, you might start at
   http://www.linuxbase.org
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list