home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16782 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!s16a17!exubern
  2. From: exubern@exu.ericsson.se (Bernie Meier)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need info: C++ obj & shared libraries
  5. Keywords: shared libraries, C++ objects
  6. Message-ID: <1992Nov23.181641.22933@exu.ericsson.se>
  7. Date: 23 Nov 92 18:16:41 GMT
  8. Sender: news@exu.ericsson.se
  9. Reply-To: exubern@exu.ericsson.se
  10. Organization: Ericsson Network Systems, USA
  11. Lines: 40
  12. Nntp-Posting-Host: s16a17.exu.ericsson.se
  13. X-Disclaimer: This article was posted by a user at Ericsson.
  14.               Any opinions expressed are strictly those of the
  15.               user and not necessarily those of Ericsson.
  16.  
  17. I have heard that it is very difficult to use the full capabilities of C++
  18. (virtuals, static instantiation, con/destruction) when designing shared
  19. object libraries. 
  20.  
  21. My questions are as follows:
  22.  
  23. 1. Is there adequate support for C++ shared libraries? (e.g. C++ objs are
  24.    hard to use efficiently in shared mem, thus by extension in shared code)
  25.  
  26. 2. Is there a way to ensure correct initialization of statically declared
  27.    C++ objects in shared code?
  28.  
  29. 3. Do virtual members cause any problems in shared libraries?
  30.  
  31. 4. Why does the SunOS debugger, dbx(1), not properly allow debugging of
  32.    programs using shared code? I get an error message like:
  33.    "dbx: internal error: assertion failed at line 2443 in file ../common/object.c"
  34.    At other times the shared objects seem to be nil pointers but the
  35.    program still runs correctly.
  36.  
  37. 5. Is there any good documentation addressing C++ and shared libraries, or 
  38.    something more detailed than the standard SunOS manuls?
  39.  
  40. Thanks for any help.
  41.  
  42. -Bernie
  43.  
  44. ---
  45. =================================================================
  46. || exubern@exu.ericsson.se   || "Do they speak swedish in      ||
  47. || Ericsson Network Systems  ||  Switzerland?"   - R.U.Serious ||
  48. || Richardson, TX, USA       ||(Don't let the .se fool you...) !!
  49. =================================================================
  50.  
  51.  
  52. ---
  53. =================================================================
  54. || exubern@exu.ericsson.se   || "Do they speak swedish in      ||
  55. || Ericsson Network Systems  ||  Switzerland?"   - R.U.Serious ||
  56. =================================================================
  57.