LFS Book 5.5.1 Installation of gcc

Jack Stone jwjstone at fastmail.fm
Wed Jan 7 06:46:09 PST 2009


Hi Anthony,
> First question is regarding the instructions:
>
> tar -jxf ../mpfr-2.3.2.tar.bz2
> mv mpfr-2.3.2 mpfr
> tar -jxf ../gmp-4.2.4.tar.bz2
> mv gmp-4.2.4 gmp
>
> I installed these packages on the host. Copied the sources to /opt and 
> compile and installed them (without error messages) on the host system. 
> Was this the right thing to do - the book seems to be a bit ambiguous on 
> this (or maybe I'm just having a stupider than average day)
>   
I agree the book does seem a bit ambiguous. I haven't build 6.4 myself 
yet but I think that you are
meant to unpack gcc and cd into in and then unpack mpfr and gmp into the 
gcc source directory. Then you can create the build directory etc

> Step 4 resulted in the error message:
> checking for suffix of object files... configure: error: cannot compute 
> suffix of object files: cannot compile
>   

You may find that doing the above corrects this.

Jack



More information about the lfs-support mailing list