On Wed, Aug 27, 2008 at 12:22 PM, DJ Lucas <[EMAIL PROTECTED]> wrote:
> TheOldFellow wrote:
>>
>>
>> Notes:
>> Chapter 5.
>>
>> 1) GMP and MPFR need to be built before GCC pass1 in Ch5. They are
>> prerequisites of GCC.  I built them into my host system, but they could
>> probably go into /tools (before GCC as well as after).
>>
>>
> Yeah, I wasn't sure what to do about them.   I figured since I built
> them in the host environment, that was fine, but it adds another
> dependency to the host.  I'm pretty sure gmp would be part of the

<snip>

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. I'm not familiar enough with
the convoluted logic of the compiler makefile magic, so not sure of
how to add /tools/lib to the compilation - no amount of configure
(--with-gmp, --with-mpfr), LDFLAGS (-L/tools/lib) or other magic has
so far allowed that path to make it to the stage1 build process from
toplevel. It may be necessary to use the older "save binutils dir" and
have a LIB_PATH of /tools/lib and /usr/lib, then clean and remove
/usr/lib during the toolchain adjustment steps. (I'll try this method
anyway, just to see if it works).

I'll experiment some more, but it's likely that unless I get lucky,
I'll revert to the known working method of adding the needed libraries
to the host toolset. At some point this will need to be addressed, if
nothing else for sucessful building from the LFS6.3 LiveCD, which
doesn't have these libraries.

-- 
-- -
Steve Crosby
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to