Subject: Re: C++ q: constructors not called for classes in shared lib ?
To: Paul Kranenburg <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 02/05/1999 11:21:01
On Fri, 5 Feb 1999, Paul Kranenburg wrote:
: One nag to get rid of is that `c++rt.o' must be compiled using the
: same `-fpic' or `-fPIC' switch as the library it gets linked with.
On systems where these flags do make that kind of difference. SPARC,
However, I believe there is a workaround for this in the GNU ld, and once we
finally switch to that, it's simply a matter of making c++rt0.o -fPIC....
: As such, the currently existing `/usr/lib/c++rt.o' is not of much use.
: Maybe it is simpler to just include a make rule to re-compile c++rt.c
: with each library as needed.
-- Todd Vierling (Personal firstname.lastname@example.org; Bus. email@example.com)