aed@netcom.COM (Andrew Davidson) (03/15/91)
Hi I have been having some trouble with dynamic linking and loading. 1) I am using Wilson Ho's dld-3.2.1 sunos 4.1.1 on a sparc station 1+ g++-1.37.0 I can get dld to correctly link and load c object files in to my c++ application, but I can not get dld to work with c++ object files. dld_get_func fails. Could this because c++ mangels names? Is there anyway to figure out what the name of the function in the object file is? 2) has anyone tried dynamic linking using the dlopen() functions provided in dlfcn.h. I looked at the header file and noticed that the prototype is in the K&R style not ANSI style. Thanks in advance Andy -- ----------------------------------------------------------------- "bede-bede-bede Thats all Folks" Porky Pig Andy Davidson Woodside CA. aed@netcom.COM -----------------------------------------------------------------
fisherjm@iris.UCDavis.EDU (John M. Fisher) (06/04/91)
I am looking for some information on SunOS4's dynamic linking mechanism, which is required in implementing debuggers on the Suns. I've read all manual pages that come with the Sun's distribution. No luck! I need to know, in detail, the data structures and algorthim on how a program maps in the shared library (text and global data) upon execution. Does anyone know this information, or where it can be obtained? Thanks, John