Thanks in advace

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'

the output is :-

lfs:/lfs/sources/glibc-build$ echo 'main(){}' > dummy.c
lfs:/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
bash: i686-pc-linux-gnu-gcc: command not found
lfs:/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
lfs:/lfs/sources/glibc-build$


I have previously mailed to the support and I was adviced to redo chapter
5.5 I did that even started again but I am stuck above point again

when I have redo 5.5 make install dint has gone good

the out put is

lfs:/lfs/sources/gcc-build$ make install
make[1]: Entering directory `/lfs/sources/gcc-build'
/bin/sh ../gcc-4.8.2/mkinstalldirs /tools /tools
/bin/sh: line 3: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/lfs/sources/gcc-build'
make: *** [install] Error 2



I want to include config.guess output and .bashrc because i think so
mistake is here

config.guess output was i686-pc-linux-gnu



bashrc

lfs:~$ cat .bashrc
set +h
umask 022
LFS=/lfs
LC_ALL=POSIX
LFS_TGT=$(uname -m)-pc-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH


lfs:~$
lfs:~$ i686-redhat-linux-
i686-redhat-linux-c++  i686-redhat-linux-g++  i686-redhat-linux-gcc
lfs:~$ i686-redhat-linux-

Kindly help me to solve the issue because iam stuck again on same point


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