On 10/18/05, Jeremy Byron <[EMAIL PROTECTED]> wrote:
> Tushar Teredesai wrote:
> > <snip>
> > For your current problem, one thing you could do is to use the
> > following to install the new gcc:
> >   make DESTDIR=/var/tmp/gcc install
> > This will install everything into a fakeroot /var/tmp/gcc. Now remove
> > the previous gcc version from the standard directories and then
> > recursively copy over the file in the fakeroot to their final
> > destination. Something like
> >   cd /var/tmp/gcc &&
> >   tar cf - . | (cd / ; tar xf - )
>
> Problem is, he cannot 'make install' anywhere because he has already
> removed the previous gcc version from the standard directories.  (He
> said the 'make install' needs gcc to be present and it no longer is.)

OP said he was restarting the build anyways, but asking for a way he
could have achieved it.

>
> Though I'm sure this solution would work otherwise (so long as gcc
> doesn't get it's install path hardcoded into anything).
>

The install prefix is still /usr, the above approach is callled the
fakeroot/DESTDIR approach (mentioned in the BLFS book).

--
Tushar Teredesai
   mailto:[EMAIL PROTECTED]
   http://www.linuxfromscratch.org/~tushar/
--
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