On 01/31/10 21:46, brown wrap wrote:
> I am trying to follow the 6.5 instructions, but running iinto problems.
> First in trying to build gmp and mpfr, there are instructions to untar
> their files and move their directories to new names. Tha's it, no
> further instructions that I see. BTW, I am using the online instructions:
>>http://www.linuxfromscratch.org/lfs/view/6.5/>>> So I used the instructions found in the 2nd build. Then when trying to
> build gcc I get the following error. Have these errors been fixed or am
> I doing something wrong. Thanks.
>>>> checking for x86_64-lfs-linux-gnu-gcc...
> /mnt/lfs/sources/6.4/gcc-build/./gcc/xgcc
> -B/mnt/lfs/sources/6.4/gcc-build/./gcc/
> -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/
> -isystem /tools/x86_64-lfs-linux-gnu/include -isystem
> /tools/x86_64-lfs-linux-gnu/sys-include
> checking for suffix of object files... configure: error: in
> `/mnt/lfs/sources/6.4/gcc-build/x86_64-lfs-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[1]: *** [configure-target-libgcc] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/6.4/gcc-build'
> make: *** [all] Error 2
>>
your supposed to unpackage(rename etc) the packages inside the source
of gcc, then gcc should automatically know what they are.
or(the long way) compile individually and when getting to gcc use the
--with-gmp/mpfr* switches.
hope this helps
Justin P. Mattock