[PATCH] Re: A clue for the libstdc++ problem.
H . J . Lu
hjl@lucon.org
Sun Apr 1 18:05:00 GMT 2001
On Sun, Apr 01, 2001 at 05:52:53PM -0700, Zack Weinberg wrote:
> On Sun, Apr 01, 2001 at 05:29:47PM -0700, Zack Weinberg wrote:
> [nothing]
>
> There was a comment in that when I sent it, really there was.
>
> ...
>
> > On Sun, Apr 01, 2001 at 05:18:58PM -0700, H . J . Lu wrote:
> > > Can you tell me what is wrong with this patch? As far as I can tell,
> > > CXXLINK in libstdc++-v3/src/Makefile.am is only used to build
> > > libstdc++.so.
>
> I don't know enough about libtool to evaluate that part of your
> change.
>
> It doesn't address the problem of libjava not getting the right -I
> switches for libstdc++'s headers. That is less important now that it
> doesn't break bootstrap anymore.
That is a known problem. I have pointed it out many months ago. I am
enclosing one of my old emails. There are many ways to deal with it.
We are doing fine with glibc which has the same issue. See
http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00894.html
for one way to help solve it.
H.J.
---
>From hjl@valinux.com Thu Jul 6 10:04:30 2000
Date: Thu, 6 Jul 2000 10:04:30 -0700
From: "H . J . Lu" <hjl@valinux.com>
To: XXX
Subject: Re: Add libstdc++/ to library search path when constructing CXX_FOR_TARGET
Message-ID: <20000706100430.A9425@valinux.com>
References: XXX
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: XXX
Status: RO
Content-Length: 608
Lines: 21
On Thu, Jul 06, 2000 at 09:56:42AM -0700, XXX wrote:
> Hi H.J.
>
> : Have you tried your patch with --enable-libstdcxx-v3?
>
> No - why is there a problem ?
>
I don't see how it will work. libstdc++.{a,so} is in a very different
directory when libstdc++-v3 is used. The libstdc++ header files from
libstdc++-v3 are even trickier. In fact, mkcheck from libstdc++-v3 is a
shell script used to find the location of libstdc++.{a,so} among other
things. You may want to check out
http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00894.html
It was checked into CVS recently.
--
H.J. Lu (hjl@gnu.org)
More information about the Gcc
mailing list