build gcc-4.3.2 failed: configure: error: cannot compute suffix of object files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All

I am trying to build gcc-4.3.2 (native) on i486(32bit cpu) running Debian 
4.1.1-21.

Target: i486-linux-gnu
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Create build dir:

$ mkdir /home/xiaoling/x86-work/build/gcc-4.3.2-build
$ cd /home/xiaoling/x86-work/build/gcc-4.3.2-build

Ran configure:
$ /home/xiaoling/x86-work/src/gcc-4.3.2/configure 
--prefix=/home/xiaoling/x86-work/install 
--with-gmp=/home/xiaoling/x86-work/install 
--with-mpfr=/home/xiaoling/x86-work/install --enable-languages=c,c++ 
LD_LIBRARY_PATH=/home/xiaoling/x86-work/install/lib --enable-shared

Completed OK. Run make, report error as following:

$ make

Checking multilib configuration for libgcc...
Configuring stage 1 in i486-linux-gnu/libgcc
configure: creating 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... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for i486-linux-gnu-ar... ar
checking for i486-linux-gnu-lipo... lipo
checking for i486-linux-gnu-nm... 
/home/xiaoling/x86-work/build/gcc-4.3.2-build/./gcc/nm
checking for i486-linux-gnu-ranlib... ranlib
checking for i486-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for i486-linux-gnu-gcc... 
/home/xiaoling/x86-work/build/gcc-4.3.2-build/./gcc/xgcc 
-B/home/xiaoling/x86-work/build/gcc-4.3.2-build/./gcc/ 
-B/home/xiaoling/x86-work/install/i486-linux-gnu/bin/ 
-B/home/xiaoling/x86-work/install/i486-linux-gnu/lib/ -isystem 
/home/xiaoling/x86-work/install/i486-linux-gnu/include -isystem 
/home/xiaoling/x86-work/install/i486-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute 
suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1

I can should the lib & include files of gmp & mpfr are in 
/home/xiaoling/x86-work/install


Is there any ideas for above failing?

 
With our best regards

xiaoling.chen

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux