canadian cross trouble with libiberty location

Daniel Kegel dank@kegel.com
Sat May 15 00:24:00 GMT 2004


I am trying a canadian cross using gcc-3.3.3, glibc-2.1.3, and binutils-2.14.92.
Here's my bootstrap gcc configure line:
../gcc-3.3.3/configure \
   --build=i686-pc-linux-gnu \
   --host=x86_64-unknown-linux-gnu \
   --target=i686-unknown-linux-gnu \
   --prefix=...
   --with-local-prefix=...
   --disable-multilib --with-newlib --site=google --without-headers --disable-nls --enable-threads=no --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c --disable-shared
I'm running into the error

make[1]: *** No rule to make target `../i686-pc-linux-gnu/libiberty/libiberty.a', needed by `gengenrtl'.  Stop.
make[1]: Leaving directory `/usr/local/google/toolchain.dkegel/crosstool-0.28-rc14/build/i686-unknown-linux-gnu/gcc-3.3.3-glibc-2.1.3/build-gcc-core/gcc'
make: *** [all-gcc] Error 2
A similar problem was described twice before:
http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00276.html
http://gcc.gnu.org/ml/gcc-bugs/2002-05/msg00195.html
On the theory that libiberty.a was built, but is in the wrong place, I
went to the parent directory of where I built gcc, and went looking:
$ find . -name libiberty.a
./build-binutils/libiberty/libiberty.a
./build-binutils/build-i686-pc-linux-gnu/libiberty/libiberty.a
./build-gcc-core/libiberty/libiberty.a
So perhaps gcc's build system made the libiberty in question one level
up because the build system name looked local (duh)?
Suggestions, anyone?  Thanks!
- Dan



More information about the Gcc mailing list