home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4275 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.3 KB

  1. Xref: sparky comp.unix.programmer:4275 comp.unix.questions:10039
  2. Path: sparky!uunet!mcsun!ieunet!!bsullivn
  3. From: bsullivn@sc.sni.ie (Bryan O'Sullivan)
  4. Newsgroups: comp.unix.programmer,comp.unix.questions
  5. Subject: Re: dynamic link libraries on the sun
  6. Message-ID: <155@sc.sni.ie>
  7. Date: 13 Aug 92 12:55:55 GMT
  8. Article-I.D.: sc.155
  9. References: <14445@borg.cs.unc.edu>
  10. Reply-To: bryan@sc.sni.ie
  11. Organization: Siemens-Nixdorf Software Development Centre, Dublin
  12. Lines: 20
  13. X-Newsreader: Tin 1.1 PL3
  14.  
  15.  
  16.  
  17. mirchand@dendrite.cs.unc.edu (Jaideep Mirchandani) writes:
  18. : I know about dlopen/dlsym/dlclose, but :
  19. : 1. Isn't there an export file anywhere ? Hpw does the dll advertise the
  20. : symbols that it has ?
  21.  
  22. It doesn't.  They're stored in the object file symbol table.
  23.  
  24. : 2. Which ld option is used ? The man page says something about -B. It also
  25. : mentions something about running ld twice, but is doesn't specify how
  26. : all this is done.
  27.  
  28. The -G option to ld combines a number of relocatable object files into a
  29. shared object.
  30.  
  31.     -- Bryan
  32. -- 
  33. Bryan O'Sullivan                                             +353-1-767551 x225
  34. Siemens-Nixdorf Informationssysteme AG                          bryan@sc.sni.ie
  35. Software Development Centre                    "Theory like mist on eyeglasses.
  36. Dublin                                          Obscure facts." -- Charlie Chan
  37.