This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix for toplevel build problem
- To: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>
- Subject: fix for toplevel build problem
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Sun, 13 Aug 2000 13:44:40 -0700
Jason's recent change to FLAGS_FOR_TARGET:
2000-08-11 Jason Merrill <jason@redhat.com>
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
CXX_FOR_TARGET): Add -B$$r/gcc/ here.
(FLAGS_FOR_TARGET): Not here.
(CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
broke the build when the system compiler was gcc 2.95.2. This fixes
it. Bootstrapped on powerpc-linux.
--
- Geoffrey Keating <geoffk@cygnus.com>
===File ~/patches/cygnus/toplev-gccfortarget.patch==========
2000-08-13 Geoff Keating <geoffk@cygnus.com>
* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/Makefile.in,v
retrieving revision 1.52
diff -p -u -u -p -r1.52 Makefile.in
--- Makefile.in 2000/07/28 02:22:17 1.52
+++ Makefile.in 2000/08/13 20:36:57
@@ -220,7 +220,7 @@ CXX_FOR_TARGET =
# variable is passed down to the gcc Makefile, where it is used to
# build libgcc2.a. We define it here so that it can itself be
# overridden on the command line.
-GCC_FOR_TARGET = $$r/gcc/xgcc $(FLAGS_FOR_TARGET)
+GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
AS_FOR_TARGET = ` \
if [ -f $$r/gas/as-new ] ; then \
============================================================