Isaac D. Cohen wrote:
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)

Stating page 36 indicates you are using the pdf version of the book. Do not use the pdf ferion to copy/paste. It causes problems. Us the html verison of the book.

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.

Follow the instructions. They do not tell you to use chroot until Chapter 6. Just follow the instructions as given until you understand enough to change them. Use /mnt/lfs as a separate partition and put the sources in /mnt/lfs/sources.

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?

Chapter is creating a set of temporary tools that you will use in Chapters 6 and beyond. Again follow the instructions. Create /mnt/lfs/tools and also a symlink /tools -> /mnt/lfs/tools.

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:

version 3.4.6 of what? gcc? Section 2.2 clearly says that the minimum version of gcc for LFS is 4.7. If you are experimenting beyond the book, you are on your own.

  -- Bruce

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