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
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page