public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compile error with gcc-3.0.1
@ 2001-10-25  8:50 Harry Putnam
  0 siblings, 0 replies; only message in thread
From: Harry Putnam @ 2001-10-25  8:50 UTC (permalink / raw)
  To: gcc-help

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 <bits/\1>,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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-25  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25  8:50 compile error with gcc-3.0.1 Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).