From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Putnam To: gcc-help@gcc.gnu.org Subject: compile error with gcc-3.0.1 Date: Thu, 25 Oct 2001 08:50:00 -0000 Message-id: X-SW-Source: 2001-10/msg00227.html Setup: Redhat Linux 7.1 rpm -q gcc = gcc-2.96-85 First let me ask if the jargonized instruction at: file:/home/reader/t/newtar/gcc-3.0.1/INSTALL/configure.html >> First, we highly recommend that GCC be built into a separate directory >> than the sources which does not reside within the source tree. This is >> how we generally build GCC; building where srcdir == objdir should >> still work, but doesn't get extensive testing; building where objdir >> is a subdirectory of srcdir is unsupported. Means something besides: tar czvf gcc*3.tar.gz cd gcc*3 ./configure make make install If so, that may be the source of my trouble. I followed the proceedure above. I'm not savvy enough about compiler errors to know what this means. Attempting to compile gcc-3.0.1 I get an error on `make install', the tail of which looks like: [....] make[1]: Leaving directory `/home/reader/t/newtar/gcc-3.0.1/libiberty' make[1]: Entering directory `/home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/l ibstdc++-v3' Making install in include make[2]: Entering directory `/home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/l ibstdc++-v3/include' sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_G LIBCPP_\1/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/libstdc++-v3/../gcc/gthr .h > i586-pc-linux-gnu/bits/gthr.h /bin/sh: /home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/libstdc++-v3/../gcc/g thr.h: No such file or directory make[2]: *** [i586-pc-linux-gnu/bits/gthr.h] Error 1 make[2]: Leaving directory `/home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/li bstdc++-v3/include' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/reader/t/newtar/gcc-3.0.1/i586-pc-linux-gnu/li bstdc++-v3' make: *** [install-target-libstdc++-v3] Error 2