GCC-4.3.1, Linux-2.6.26.2
Steve Crosby
steve.crosby at gmail.com
Wed Aug 27 04:21:25 MDT 2008
On Wed, Aug 27, 2008 at 10:12 PM, Steve Crosby <steve.crosby at gmail.com> wrote:
> On Wed, Aug 27, 2008 at 8:05 PM, Greg Schafer <gschafer at zip.com.au> 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
More information about the lfs-dev
mailing list