On Wed, Aug 27, 2008 at 10:12 PM, Steve Crosby <[EMAIL PROTECTED]> wrote: > On Wed, Aug 27, 2008 at 8:05 PM, Greg Schafer <[EMAIL PROTECTED]> wrote: >> Steve Crosby wrote: >> >>> FYI: building them in the tools directory is going to be problematic. >>> During the stage 1 build of gcc, the make system is unable to locate >>> the libmpfr.so.1 library, and so aborts. >>
<snip> > > LD_LIBRARY_PATH=/tools/lib:$LD_LIBRARY_PATH make > this doesn't scale - the linux headers build (and I suspect everything else following gcc) also looks for the mpfr library whenever the compiler is invoked. Doing the /etc/ld.so.conf edit will work, which could be undone in the adjusting toolchain phase, but that does involve editing the host system, which may not be feasible for a live cd or restircted environment. Don't think exporting envvar for several packages is a great solution, so will restart with the embedded mpfr\gmp libs as suggested by Greg and see what happens from there. (although I *suspect* the same issue will arise with missing libraries after gcc build dir is removed). -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
