On Fri, Oct 22, 2010 at 03:21:58PM -0700, Nolan wrote:
>
> I am now to 5.10.1 and have applied the gcc-startfiles patch, and it was
> successful.
> I am now at unpacking, configuring && make && make installing the three
> files
> gmp, mpfr, and mpc.
> My question is, where are these installed? My first guess would be in
> /mnt/lfs/tools/{bin,lib}, would be be correct?
> As this is for pass2, they cannot be in the /tools directory, as it
> would not be available in the chrooted environment.
> Some info on this would be a great help for me.
>
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.
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.
Also, don't forget to delete the source and any -build directories
after each step [ thought I'd throw in that reminder ].
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.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page