This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: A clue for the libstdc++ problem.
On Sun, Apr 01, 2001 at 08:57:47PM -0300, Alexandre Oliva wrote:
>
> I'm tempted to install the patch I have now, just to get things back
> into a working shape, and then proceed with the discussion about the
> best way to address it, if anybody still has the energy for it. If
> nobody screams in horror ;-) about the patch that introduces
> CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, I'll check it in in half an hour or
> so.
>
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.
H.J.
---
2001-04-01 H.J. Lu (hjl@gnu.org)
* libstdc++-v3/src/Makefile.am (CXXLINK): Remove --tag CXX and
replace $(CXX) with $(CC).
* libstdc++-v3/src/Makefile.in: Rebuild.
--- gcc/libstdc++-v3/src/Makefile.am.libstdc++ Sat Mar 31 21:04:29 2001
+++ gcc/libstdc++-v3/src/Makefile.am Sun Apr 1 17:06:34 2001
@@ -349,5 +349,5 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mo
# course is problematic at this point. So, we get the top-level
# directory to configure libstdc++-v3 to use gcc as the C++
# compilation driver.
-CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
+CXXLINK = $(LIBTOOL) --mode=link $(CC) \
@OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
--- gcc/libstdc++-v3/src/Makefile.in.libstdc++ Sat Mar 31 21:04:29 2001
+++ gcc/libstdc++-v3/src/Makefile.in Sun Apr 1 17:07:06 2001
@@ -333,7 +333,7 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mo
# course is problematic at this point. So, we get the top-level
# directory to configure libstdc++-v3 to use gcc as the C++
# compilation driver.
-CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
+CXXLINK = $(LIBTOOL) --mode=link $(CC) \
@OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
CONFIG_HEADER = ../config.h