Hi everyone,

I recently started building an LFS and I a few questions. I am using
LFS book version 8.0. On page 36 before building binutils (pass 1)
the book says that all sources should be put in a directory where
they will accessible from the chroot environment. Does this mean that
I should chroot to /media/LFS/ before building binutils? The book
doesn't say to do so, but I just want to make sure.

Also, in the ./configure lines for both GCC and Binutils I noticed
that whenever there is a path (besides --sysroot) is always begins
with /tools. Is this because all paths here are offset from
--sysroot=/media/LFS? Or does this have to do with chroot?

Finally, the reason I'm asking all these questions is because when
compiling gcc (I'm using version 3.4.6) I get the following error:

The directory that should contain system headers does not exist:
  /media/isaac/LFS/usr/include
Makefile:2569: recipe for target 'stmp-fixinc' failed
make[1]: *** [stmp-fixinc] Error 1

What does this error mean? It seems like it is looking for a
/usr/include directory on my LFS volume. But I thought that command
before the build (that replaces /usr/include in gcc) was supposed to
take care of that. Anyway, what can I do about this error?

Thank you very much,
Isaac D. Cohen

PS. The reason I'm using such old versions of the packages
(ex. gcc-4.3.6 and binutils 2.14) is because I have a book that goes
through the Linux kernel part by part and explains how it works
internally and I want to be able to follow along. The version used in
the book is Linux kernel 2.6.11. If I'm going to use that kernel, I
have to build the system out of packages from back then.


-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to