#2754: 5.5.1. Installation of Cross GCC - errors while configuring gcc-4.5.1
-----------------------+----------------------------------------------------
 Reporter:  dotnokato  |       Owner:  lfs-b...@…                    
     Type:  defect     |      Status:  new                           
 Priority:  high       |   Milestone:  6.7                           
Component:  Book       |     Version:  SVN                           
 Severity:  blocker    |    Keywords:  gmp, mpc, mpfr, gcc, gcc-4.5.1
-----------------------+----------------------------------------------------

Comment(by dotnokato):

 Wrong again!

 Options:
 {{{
 --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs
 }}}
 are needed to fix Ticket #2687

 Unfortunatelly, I wasn't able to build gcc.

 Here's some output of make:

 {{{
 Checking multilib configuration for libgcc...
 Configuring in i686-lfs-linux-gnu/libgcc
 configure: loading cache ./config.cache
 checking for --enable-version-specific-runtime-libs... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gawk... gawk
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-lfs-linux-gnu
 checking for i686-lfs-linux-gnu-ar... i686-lfs-linux-gnu-ar
 checking for i686-lfs-linux-gnu-lipo... i686-lfs-linux-gnu-lipo
 checking for i686-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm
 checking for i686-lfs-linux-gnu-ranlib... i686-lfs-linux-gnu-ranlib
 checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip
 checking whether ln -s works... yes
 checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-
 build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-
 linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-
 linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include
 checking for suffix of object files... configure: error: in
 `/mnt/lfs/sources/gcc-build/i686-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/gcc-build'
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2754#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to