This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't build correctly working crosscompiler with 4.3.0. 4.2.1 worked like charm
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denys Vlasenko <vda dot linux at googlemail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 16 Apr 2008 10:23:55 -0400
- Subject: Re: Can't build correctly working crosscompiler with 4.3.0. 4.2.1 worked like charm
- References: <200804150534.17118.vda.linux@googlemail.com>
On Tue, Apr 15, 2008 at 05:34:17AM +0200, Denys Vlasenko wrote:
> --bindir=/usr/bin \
> bindir=$STATIC/bin \
Why are you configuring for one set of paths which are half in $STATIC
and half in /usr, and installing in paths which are all in $STATIC?
That's causing this:
> 30816 stat64("/.share/usr/app/gcc-4.3.0-i486-linux-uclibc/bin/../app/gcc-4.3.0-i486-linux-uclibc/libexec/gcc/i486-linux-uclibc/4.3.0/cc1", 0xffde613c) = -1 ENOENT (No such file or directory)
At this point it's clear something is wrong. The libexec directory is
not in the same relation to bindir that it was at configure time.
You've moved parts of the toolchain pretty much arbitrarily, so it's
not surprising at all to me that it can't find itself...
--
Daniel Jacobowitz
CodeSourcery