Subject: Re: USE_LIBTOOL and C++
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 06/20/2000 22:56:43
Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> writes:
> On Tue, 20 Jun 2000, Johnny C. Lam wrote:
> > Our old pkglibtool, which is apparently now deprecated, had a new
> > option "--cplusplus" to link in cr++t.o with C++ libraries to ensure
> > that global static contructors were called at the proper time.  Is
> > this no longer necessary?  If not, then we can't change any of the C++
> > library packages to USE_LIBTOOL, e.g. devel/boost, */kde*, x11/qt*.
> 
> Really, I'd expect g++ to care for handling cr++t.o. We don't have to deal
> with crt.o as users (of the toolchain) either.

I absolutely agree, but we still have to work around this problem for
the 1.4.* and the upcoming 1.5 branch, as I don't recall anyone fixing
this yet.

I was asking because I wanted to know if we should be pulling up the
--cplusplus stuff in pkglibtool into libtool, or if we should just
leave all the C++ packages to use pkglibtool for now.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/