[lfs-support] lfs tool chain technique LFS-7.1

Emerson Yesupatham yemerson1976 at gmail.com
Sat Aug 25 03:39:34 PDT 2012


 Hi Hadi,

Hadi wrote:
>>So I want to know that in Chapter 5 why the binutils-2.22-Pass1 is the pre
>>requisite for GCC-4.6.2-Pass1 since GCC-4.6.2-Pass1 still uses those of
the
>>host.

Emerson: I am using LFS BOO 7.0 currently, but I believe tool chain
mechanism beteween 7.0 and 7.1 should be same almost.
The binutils-2.22 pre-requisite MAY be that GCC-4.6.2 depends on this
particular 2.22 binutils features. Not sure others can comment on this.
Also,How you are saying that GCC-4.6.2-Pass 1 still uses binutils from Host?
As you see in the below, binuitls-2.22 are indeed picked up from the
/tools/ directory only.

>> But in GCC-4.6.2-Pass1 I notice the following prints will come out:

>>checking for ar... /tools/i686-lfs-linux-gnu/bin/ar
>>checking for as... /tools/i686-lfs-linux-gnu/bin/as

Emerson: However, When I configure GCC-4.6.1 -pass1 in chapter 5.5, I see
the following in my configure.log, It exactly looks for
i686-lfs-linux-gnu-ar and finds it. Firstly it tries for just 'ar' but the
result is no. In you case it finds 'ar' inside /tools/i686-lfs-linux-gnu/.
Not sure why this difference, may be due to GCC 4.6.1 (mine) and 4.6.2
(yours). However 'ar' and i686-lfs-linux-gnu-ar are one and the same, they
are hard linked. I am new to LFS, just put my thoughts here, others can
correct/comment more.

configure:10881: checking for ar
configure:10914: result: no
configure:10992: checking for i686-lfs-linux-gnu-ar
configure:11008: found /tools/bin//i686-lfs-linux-gnu-ar
configure:11019: result: i686-lfs-linux-gnu-ar
Thanks,
Emerson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120825/efc52fa9/attachment.html>


More information about the lfs-support mailing list