On Fri, 30 Sep 2005, iman darabi wrote:

Hi
Host System : lfs live cd version:x86-6.1-2.
Book vresion: 6.1
I have 2 Q :
first:
        In part 4.2(page 43) we make a symlink(/tools);The
explanation of the book is :
        The created symlink enables the toolchain to be
compiles so that it always referes to /tools, meaning
that the compiler ... will work both in this
chapter(when we are using some tools from the host)and
the next (when we are ''chrooted'' to the LFS
partition).
        Now I want to know that if i don't make this link
then it means i can't use these toolsin chapter 5
?(Actually the explanation of the book wasn't so clear
for me)

Correct. If the symlink isn't there, installing to /tools will attempt to install to a subdirectory of '/' which should fail (because you are a normal user in chapter 5) and even if you managed to do that, it would be inaccessible when you entered chroot.

Second:
        In part 5.3(page 53) we use  these commands :
        mkdir ../binutils-build
        cd ../binutils-build
        Now the question is :
        what is the path of the binutils-build ?(BTW : I know
what does ../ mean)
Thanks in advance


The book mentions building in /mnt/lfs/sources in section 3.1, if you do that you would have something like
 /mnt/lfs/sources/binutils-2.15.94.0.2.2
and
 /mnt/lfs/sources/binutils-build.

But, as long as binutils-2.15.94.0.2.2 and binutils-build are both in the same parent directory, it really makes no difference. I build my own systems in /mnt/lfs/building because /mnt/lfs/sources is an nfs mount on my desktops. The only difference for me is that I can't access the patches using a ../ path.

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
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