ls -l /bin/gcc returns
lrwxrwxrwx 1 root root 14 May 29 19:25 /bin/gcc -> /tools/bin/gcc
and
ldd /bin/gcc
/tools/bin/ldd: line 124: /bin/gcc: No such file or directory

when under /tools/bin I ran 'ls | grep gcc' and got
gcc
gccbug
i686-pc-linux-gnu-gcc
i686-pc-linux-gnu-gcc-4.0.3

why then does it say they dont exist? is that the issue here?

On 5/29/07, Chris Staub <[EMAIL PROTECTED]> wrote:
> Peter Santimauro wrote:
> > After mkdir -v ../glibc-build  and cd ../glibc-build, I tryed to run
> > the configure script.  I  get the following as and output:
> > ...
> > the config.log  says:
> >
> > ...
> > configure:2631: checking for C compiler version
> > configure:2634: gcc --version </dev/null > &5
> > ../glibc-2.3.6/configure: line 2635: /bin/gcc: No such file or directory
> > configure:2637: $? =127
> > configure:2639: gcc -v </dev/null > &5
> > ../glibc-2.3.6/configure: line 2640: /bin/gcc: No such file or directory
> > configure:2642: $? =127
> > configure:2644: gcc -V </dev/null > &5
> > ../glibc-2.3.6/configure: line 2645: /bin/gcc: No such file or directory
> > configure:2647: $? =127
> > configure:2651: checking for suffix of object files
> > configure:2672: ggc -c conftest.c >&5
> > ../glibc-2.3.6/configure: line 2673: /bin/gcc: No such file or directory
> > configure:2675: $? =127
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | ...confdefs contents ...
> > |
> > |
> > configure: 2689: error: cannot compute suffix of object files: cannot 
> > compile
> >
> > ....
> >
> > any ideas why this is happening?
> > i tryed to run gcc but it isnt there.  this is the second time around
> > for me trying to get this to work. Last time I got this error and
> > restarted, I really don't want to have to do that again :(
> >
> > thank
> > pete
>
> According to config.log it's looking for /bin/gcc, which should not
> exist. What is the output of "ls -l /bin/gcc" and "ldd /bin/gcc"?
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to