On 2/3/06, rick <[EMAIL PROTECTED]> wrote:
> Using LiveCD 6.1.1 as host I received the following config error at sec 6.11:
>
<snip>
> configure:2672: gcc -c   conftest.c >&5
> gcc: installation problem, cannot exec
> `/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.
> ./../i686-pc-linux-gnu/bin/as': No such file or directory
> configure:2675: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */

If I had to guess, I would say the toolchain is not adjusted properly.
 Let's try a sanity check.  From Ch. 5.7

echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep 'ld-linux'

Can you compile the dummy program?  My guess is you're still linking
to the host system.  The output from above should indicate
/tools/lib/ld-linux.so.2.

--
Dan
--
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