On Mon, 2010-10-25 at 22:14 -0700, lfs wrote:
> So the question is, Should I create the gcc-build directory and *then* 
> untar gmp,mpfr, mpc, from that(gcc-build) directory

No. Remember the rule - before starting on a particular page, extract
it's tarball, and cd into the directory. So, when extracting gmp, mpfr,
and mpc, you should be in the GCC source directory (gcc-4.5.1).

The idea is that you should then have 'gmp', 'mpfr' and 'mpc'
directories within the main GCC source, and the reason is that they'll
be built by GCC automatically. Unfortunately, the book doesn't really
explain this, with the result that people seem to improvise this part,
instead of following the instructions to the letter.


Editors, can we perhaps add some extra text to the GCC Pass 1
instructions (and perhaps a short reminder to Pass 2 as well)? Right
now, all the book has to say is:

    "GCC now requires the GMP, MPFR and MPC packages. As these
     packages may not be included in your host distribution, they
     will be built with GCC"

Can we go into a bit more detail about that "build with GCC" bit?
Extracting seemingly unrelated tarballs into the GCC source tree *is* an
unusual thing to do, unless you're aware that the GCC build will
magically build those packages if present. A short explanation of how
this works, and why we do it would 1) improve the educational aspects of
the book, and 2) discourage people from improvising because the
instructions seem wrong.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
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