This is the mail archive of the
mailing list for the GCC project.
Re: compile error for gcc-4.0.0-20050410
- From: James E Wilson <wilson at specifixinc dot com>
- To: Guochun Shi <gshi at ncsa dot uiuc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 18 Apr 2005 17:47:33 -0700
- Subject: Re: compile error for gcc-4.0.0-20050410
- References: <email@example.com>
Guochun Shi wrote:
make: Entering directory `/home/gshi/gcc/gcc-4.0.0-20050410/build-i686-pc-linux-gnu/libiberty'
make: *** No rule to make target `../include/ansidecl.h', needed by `regex.o'. Stop.
make: Leaving directory `/home/gshi/gcc/gcc-4.0.0-20050410/build-i686-pc-linux-gnu/libiberty'
It looks like you tried to build in the source directory. That is
supposed to work, but we never test it, and it is known to have frequent
problems. Try following the directions that say to configure in a
separate directory. E.g.
This is how we build it, and this is known to work. Since you already
have one broken configure/build in the source directory, you probably
need to rm -rf your current source/build tree, and extract a new source
tree from the release tar ball. Building in a separate directory has
the advantage that when something goes wrong, your source tree doesn't
get messed up.
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com