This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
checking whether the C compiler works... no
- From: Reed Lawson <reedlawson at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 16 Dec 2003 05:50:48 -0800 (PST)
- Subject: checking whether the C compiler works... no
Hi, I'll try to be breif...
I am on i686-pc-linux-gnu and want a toolchain for
i386-pc-linux-gnu Should be no problem, right? (ehem)
The i386 is a TS-3300 (mini i386 33 pc with no fpu)
running linux.
I sucessfully built the binutils-2.14 and glibc-2.3.2
but gcc-3.3.2 is stopping on:
checking whether the C compiler works ... no
make: *** [configure-target-libiberty] Error 1
config.status looks like this:
# This file was generated automatically by configure.
Do not edit.
# This directory was configured as follows:
../gcc-3.3.2/configure
--with-gcc-version-trigger=/home/reed/build/gcc/gcc-3.3.2/gcc/version.c
--host=i686-pc-linux-gnu
--prefix=/home/reed/rl/dev/toolroot
--target=i386-pc-linux-gnu --nfp --norecursion
# using "mt-frag"
I looked in i386-pc-linux-gnu/libiberty/config.log
and see:
configure:2392: checking whether the C compiler (
/home/reed/build/gcc/build-gcc/gcc/xgcc
-B/home/reed/build/gcc/build-gcc/gcc/
-B/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/bin/
-B/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/lib/
-isystem
/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/include
-O2 -g -O2 ) works
configure:2408:
/home/reed/build/gcc/build-gcc/gcc/xgcc
-B/home/reed/build/gcc/build-gcc/gcc/
-B/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/bin/
-B/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/lib/
-isystem
/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/include
-o conftest -O2 -g -O2 conftest.c 1>&5
/home/reed/rl/dev/toolroot/i386-pc-linux-gnu/bin/ld:
warning: ld-linux.so.2, needed by
/home/reed/rl/dev/toolroot/lib/libc.so.6, not found
(try using -rpath or
-rpath-link)
/
But LOOK! It's right there in the same place as
it found libc.so.6!
reed@barbados:~/rl/dev/toolroot/lib$ ls -l
ld-linux.so.2 ld-2.3.2.so
-rwxr-xr-x 1 reed reed 692062 Dec 12
08:16 ld-2.3.2.so
lrwxrwxrwx 1 reed reed 11 Dec 12
08:16 ld-linux.so.2 -> ld-2.3.2.so
So, why can't it find ld-linux.so.2? Humm?
Thanks,
- Reed.
=====
Reed Lawson