Does that mean that I have to add entry of below in .bashrc i686-redhat-linux-gcc
also config.guess shows different output that is i686-pc-linux-gnu On Sat, Aug 9, 2014 at 12:30 AM, < [email protected]> wrote: > Send lfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.linuxfromscratch.org/listinfo/lfs-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lfs-support digest..." > > > Today's Topics: > > 1. Issue while testing for basic functions (compiling and > linking) after compiling glibc (Prashant Singh Genda) > 2. Re: Issue while testing for basic functions (compiling and > linking) after compiling glibc (Aleksandar Kuktin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 8 Aug 2014 16:07:36 +0530 > From: Prashant Singh Genda <[email protected]> > To: [email protected] > Subject: [lfs-support] Issue while testing for basic functions > (compiling and linking) after compiling glibc > Message-ID: > < > cajlqzj+v+_bdmcz-eopqfz+vfotvpws38pyo4mox1mujyjg...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20140808/bce1e5c4/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Fri, 8 Aug 2014 14:05:50 +0200 > From: Aleksandar Kuktin <[email protected]> > To: [email protected] > Subject: Re: [lfs-support] Issue while testing for basic functions > (compiling and linking) after compiling glibc > Message-ID: <20140808140550.5c09801a@ikilid> > Content-Type: text/plain; charset="us-ascii" > > >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. > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 836 bytes > Desc: not available > URL: < > http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20140808/641beb13/attachment-0001.sig > > > > ------------------------------ > > Subject: Digest Footer > > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > > ------------------------------ > > End of lfs-support Digest, Vol 82, Issue 1 > ****************************************** > -- Thanks & Regards, Prashant Singh Genda Mobile:- 9991501816(Primary No:)
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
