lfs 6.0 chapter 6

Chris Staub chris at beaker67.com
Tue Feb 14 11:16:53 PST 2006


Terror Duizel wrote:
> i did everything the book says when i entering the chroot environment in 
> chapter 6 after mount the properly filesystems and try to configure 
> Glibc-2.3.4-20040701 i get an error that gcc cannot found:
> 
> checking for gcc... gcc
> checking for suffix of object files... configure: error: cannot compute 
> suffix of object files: cannot compile
> See `config.log' for more details.
> root:/glibc-build#
> 
> this problem is only at the chroot environment if i logout of the chroot 
> environment everything is ok
> 
> i tried:
> 
> root:/glibc-build# exit
> logout
> [root at localhost ~]# echo 'main(){}' > dummy.c
> [root at localhost ~]# cc dummy.c
> [root at localhost ~]# readelf -l a.out | grep ': /tools'
>      [Requesting program interpreter: /tools/lib/ld-linux.so.2]
> [root at localhost ~]#
> 
> can anyone help me please??
> 
> 

What is the output of "ldd /tools/bin/gcc"?



More information about the lfs-support mailing list