home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!s16a17!exubern
- From: exubern@exu.ericsson.se (Bernie Meier)
- Newsgroups: comp.unix.wizards
- Subject: Need info: C++ obj & shared libraries
- Keywords: shared libraries, C++ objects
- Message-ID: <1992Nov23.181550.22863@exu.ericsson.se>
- Date: 23 Nov 92 18:15:50 GMT
- Sender: news@exu.ericsson.se
- Reply-To: exubern@exu.ericsson.se
- Organization: Ericsson Network Systems, USA
- Lines: 33
- Nntp-Posting-Host: s16a17.exu.ericsson.se
- X-Disclaimer: This article was posted by a user at Ericsson.
- Any opinions expressed are strictly those of the
- user and not necessarily those of Ericsson.
-
- I have heard that it is very difficult to use the full capabilities of C++
- (virtuals, static instantiation, con/destruction) when designing shared
- object libraries.
-
- My questions are as follows:
-
- 1. Is there adequate support for C++ shared libraries? (e.g. C++ objs are
- hard to use efficiently in shared mem, thus by extension in shared code)
-
- 2. Is there a way to ensure correct initialization of statically declared
- C++ objects in shared code?
-
- 3. Do virtual members cause any problems in shared libraries?
-
- 4. Why does the SunOS debugger, dbx(1), not properly allow debugging of
- programs using shared code? I get an error message like:
- "dbx: internal error: assertion failed at line 2443 in file ../common/object.c"
- At other times the shared objects seem to be nil pointers but the
- program still runs correctly.
-
- 5. Is there any good documentation addressing C++ and shared libraries, or
- something more detailed than the standard SunOS manuls?
-
- Thanks for any help.
-
- -Bernie
-
- ---
- =================================================================
- || exubern@exu.ericsson.se || "Do they speak swedish in ||
- || Ericsson Network Systems || Switzerland?" - R.U.Serious ||
- || Richardson, TX, USA ||(Don't let the .se fool you...) !!
- =================================================================
-