Brett Mahar wrote:

>>   What we are doing is creating gmp/, mpfr/, mpc/ directories
>> _within_ the gcc directoriy.  We do this because any host using a
>> version of gcc older than 4.5 will NOT have all of these required
>> programs, so we will build them in to the temporary gcc.
> This is where I am totally confused. Why you ask??
> @5.5.1 the first instructions are to extract the three tarballs & mv
> them to their short names.
> I now know that you must configure,make,make install for GCC to build.
> Which I accomplished in the build I just deleted. Also about the
> trippleet,  gmp  must be installed before mpfr. If you configure and
> make mpfr first it kicks out with the error that it cannot find gmp.
> *Then* the second instruction is to create the gcc-build directory and
> cd into it.
> So the question is, Should I create the gcc-build directory and *then*
> untar gmp,mpfr, mpc, from that(gcc-build) directory

Why would you think the order of the commands is different from what is 
presented?

> Section 5.3 says:
> 
> 3. For each package:
>    a. Using the tar program, extract the package to be built.
>    b. Change to the directory created when the package was extracted.
>    c. Follow the book's instructions for building the package.......
> 
> So for example if I follow section 5.3 I:
> a. extract the package mpfr (as far as I, the beginning lfs person
> know, this is a package)

In Chapter 5, mpfr, gmp, and mpc are not presented as separate packages 
to be built.  There is no separate configure, make, or make install. 
There is no separate section for those packages.

In chapter 6, the packages are separate and each have their own section 
(6.13, 6.14, and 6.15).  The procedures are different in different 
Chapters.

I have added some clarifying text to section 5.5.

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