On 10/22/10 16:04, Ken Moffat wrote:
> When you follow the instructions for *any* page in chapters 5 and
> 6, you should first untar any tarball specified (so,
> gcc-4.5.1.tar.bz2 in this case) *and then cd into the directory it
> creates*.  If you remember that last part, the problem disappears.
Yes, I have been doing this.
>   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


>   Also, don't forget to delete the source and any -build directories
> after each step [ thought I'd throw in that reminder ]
This also I have been doing.
> .
>
>   I don't think you have understood how /tools is used.  The programs
> there *are* used during chapter 6, because we put them at the end of
> the PATH, as a fall-back.  So, at the beginning of chapter 6 we
> use /tools/bin for everything we run, but gradually we pick up the
> newer programs from /bin and /usr/bin.
I have reread and banged my head against the wall to knock some sense 
into _it_, and I now understand how thing are working. I even have a 
/tools symlink in the root directory. :)
And installing binutils on the 1st pass went without a hitch. baad-a-bing.
I have a question on @5.4 but will start another thread for clarity and 
searching sake.

> ĸen
Thanks again to all who responded.

Nolan

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