try 
$ echo $LFS_TGT
may be you missspell
$echo $LFS_TARGET



------------------ Original ------------------
From: "Prashant Singh Genda"<[email protected]>; 
Date: 2014??8??8??(??????) ????7:07
To: "LFS Support List"<[email protected]>; 
Subject: [lfs-support] Issue while testing for basic functions (compilingand 
linking) after compiling glibc



1)    Version of book is 7.5


2)    Centos 6.0

and kernel 2.6.32-71.el6.i686

3)     Section :- 5.7. Glibc-2.19

4)     Problem occured while doing 

    echo 'main(){}' > dummy.c
     $LFS_TGT-gcc dummy.c
    readelf -l a.out | grep ': /tools'

below is the output

lfs:/lfs/sources/glibc-build$ echo 'main(){}' > dummy.c
lfs:/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
 bash: i686-lfs-linux-gnu-gcc: command not found
lfs:/lfs/sources/glibc-build$ i686-
i686-lfs-linux-gnu-addr2line  i686-lfs-linux-gnu-gprof      
i686-lfs-linux-gnu-objdump    i686-lfs-linux-gnu-strip
i686-lfs-linux-gnu-ar         i686-lfs-linux-gnu-ld         
i686-lfs-linux-gnu-ranlib     i686-redhat-linux-gcc
 i686-lfs-linux-gnu-as         i686-lfs-linux-gnu-ld.bfd     
i686-lfs-linux-gnu-readelf    
i686-lfs-linux-gnu-c++filt    i686-lfs-linux-gnu-nm         
i686-lfs-linux-gnu-size       
i686-lfs-linux-gnu-elfedit    i686-lfs-linux-gnu-objcopy    
i686-lfs-linux-gnu-strings    
 lfs:/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
readelf: Error: 'a.out': No such file



According to book this section is necessary


-- 
 Thanks & Regards,
Prashant Singh Genda
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to