ajith silva wrote:
> LFS 6.4 book mentioned two folders,
> 
> /mnt/lfs/sources
> /mnt/lfs/tools
>  
> You have to work in /mnt/lfs/sources for all installation work. All
> installation scripts will install required files in /mnt/lfs/tools
> automatically when you execute proper commands according to the book
> (LFS 6.4).

I have buil LFS 6.3 and 6.4 (a few times for 6.4) and I haven't yet
built any of them by hand (I did some jhalfs builds of 6.4 which
did) by building in $LFS/sources

> First consider page 37 of the book where you begin the LFS
> installation with binutils-2.18. You have to do fllowing:
> 
> copy binutils- 2. 18. tar. bz2 and binutils-2.18-configure-1.patch file to 
> /mnt/lfs/sources 
> then uncompress it as tar -jxf binutils- 2. 18. tar. bz2
> go into the directory binutils- 2. 18 (cd binutils- 2. 18)
> issue the command as book says: patch -Np1 -i 
> ../binutils-2.18-configure-1.patch
> then issue following command to create a folder inside /mnt/lfs/sources

Well, you state that one has to do that, but I've not done it
by hand for either 6.3 or 6.4, and I've done at least three builds
by hand. I've lost count...

> mkdir -v ../binutils-build
> 
>  
> Please try to understand this. Your current location should be
> /mnt/lfs/source/binutils-2.18/ and when you issue the command "mkdir
> -v ../binutils-build" it will create the directory in
> /mnt/lfs/sources/ as /mnt/lfs/sources/binutils-build.

Well, aside from the error of substituting "/mnt/lfs" for "$LFS",
what you wrote is just not what I experience. I don't like, and
haven't used, the exact directory structure suggested in the book.

> this means
> 
> LFS book does not explain everything (specially location to execute 
> installation commands)

Actually, it does. There is a section which describes "General
Instructions" which explains something similar to what you wrote.

> you should have basic knowledge about unix system and its command
> (specially file system related command behaviour)

This is certainly true.

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