Lorenzo Trojan wrote:
> Hi all, I hope this isn't a silly question...
> 
> it's not quite clear to me one thing: why the the gcc cross compiler
> created in sec 5.5 isn't used for the compilation of the packages in
> section 5 (something like ./configure CC=$LFS_TGT-gcc)? Since the
> path is set to /tools/bin:/bin:/usr/bin the gcc and cc executables
> used during compilation is the one created during the second pass,
> wouldn't this break if the build and the host system aren't the same?

The entire set of tools built in Chapter 5 need to be built
by one and the same set of dev tools, in order to ensure that
they all work together and agree on what formats are, etc.

Just like horses, one shouldn't change compilers in mid stream.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to