Why building Toolchain

2009-10-12 Thread Amir Khezrian
hello I have some questions about the procedure of making LFS system? I have not undrestood why we need toolchain to build the actual LFS system . If the reason for building toolchain is just the tools that we need to build the LFS system, like compiler ,Why we don't use the host system's tools ?

Problem In Making The LFS System Bootable

2009-08-31 Thread Amir Khezrian
Hi everyone I have a problem in section 8.4(making the LFS System Bootable, LFS 6.4) I have two hard disks. the fisrt one is for host system as master and the second one is for LFS as slave. things that i did in section 8.4 was : - - - - - - - -- - -- -- - -- - - root :/# grub grub > root

Re: Problem In Chapter 6

2009-08-26 Thread Amir Khezrian
No you will not have any troubles with it, just enter in to /sources (which > is $LFS/sources but chrooted, if you followed the instructions) and follow > the instructions for each program... > > When you for example enter in to the binutils folder and compile it, it > will not overwrite the folder

Re: Problem In Chapter 6

2009-08-25 Thread Amir Khezrian
On Tue, Aug 25, 2009 at 2:08 PM, Michael Tsang wrote: > On Tuesday 25 August 2009 17:29:18 Amir Khezrian wrote: > > On Tue, Aug 25, 2009 at 1:10 PM, Michael Tsang > wrote: > > > On Tuesday 25 August 2009 16:28:32 Amir Khezrian wrote: > > > > Hello > > >

Re: Problem In Chapter 6

2009-08-25 Thread Amir Khezrian
On Tue, Aug 25, 2009 at 1:10 PM, Michael Tsang wrote: > On Tuesday 25 August 2009 16:28:32 Amir Khezrian wrote: > > Hello > > > > I have some problems in chapter 6 : > > > > I don't know where should i install "6.7 Linux-2.6.27.4 API Headers" and &

Problem In Chapter 6

2009-08-25 Thread Amir Khezrian
Hello I have some problems in chapter 6 : I don't know where should i install "6.7 Linux-2.6.27.4 API Headers" and other packages ?. if it is $LFS/sources, some packages like "Glibc-2.8", "binutils" and many else exits. should i remove them first and then recompile these? thanks for any help. --

Fail in compiling GCC

2009-08-17 Thread Amir Khezrian
Hi first of all, thank you for your helps. I did all according to the book but, during the compilation of "gcc" i encountered with some errors. these are the last lines that are shown during the compilation of gcc : # Now that we have built all the objects, we need to copy # them back to the GC

A Problem With Compiling Binutils-2.18

2009-08-15 Thread Amir Khezrian
Hello I have a problem when i want to compile The Binutils package.when i issue the "make" commond as root there is no problem and by issuing the next commomd (make install), i encounter with this: make[1]: Entering directory `/mnt/lfs/sources/binutils-2.18' /bin/sh ./mkinstalldirs /tools /tools