>On Fri, 8 Aug 2014 16:07:36 +0530
>Prashant Singh Genda <[email protected]> wrote:
>
> 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

You are missing the compiler. You have i686-redhat-linux-gcc, but
presumably that is not the one you compiled?

Redo chapter 5.5 (the one where you compile GCC).

-- 
Svi moji e-mailovi su kriptografski potpisani. Proverite ih.
All of my e-mails are cryptographically signed. Verify them.
--
You don't need an AI for a robot uprising.
Humans will do just fine.

Attachment: signature.asc
Description: PGP signature

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