Hi, I try to compile gcc (from svn) for taget alpha linux. I have a separate objdir. I tried with two different configuration options that are as follows: ../src/configure --prefix=/home/ferad/gcc-alpha --target=alpha-linux --with-gmp=/usr/local --with-mpfr=/usr/local --enable-languages=c,c++ ../src/configure --prefix=/home/ferad/gcc-alpha --target=alpha-unknown-linux-gnu --with-gmp=/usr/local --with-mpfr=/usr/local --enable-languages=c,c++ But when building (make) both fail at the same place with the following error message: "checking for suffix of object files... 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 `/home/ferad/downloads/gcc-2.4/alpha-objdir' make: *** [all] Error 2" I also attach my config.log file. I will appreciate your comments on what I do wrong. Thanks in advance. -- Ferad Zyulkyarov Barcelona Supercomputing Center
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:633: checking host system type configure:654: checking target system type configure:672: checking build system type configure:727: checking for a BSD compatible install configure:780: checking whether ln works configure:804: checking whether ln -s works configure:1882: checking for gcc configure:1995: checking whether the C compiler (gcc ) works configure:2011: gcc -o conftest conftest.c 1>&5 configure:2037: checking whether the C compiler (gcc ) is a cross-compiler configure:2042: checking whether we are using GNU C configure:2051: gcc -E conftest.c configure:2070: checking whether gcc accepts -g configure:2137: checking for gnatbind configure:2204: checking for gnatmake configure:2269: checking whether compiler driver understands Ada configure:2301: checking how to compare bootstrapped objects configure:2440: checking for correct version of gmp.h configure:2453: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include conftest.c 1>&5 configure:2468: checking for correct version of mpfr.h configure:2488: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include conftest.c -L/usr/local/lib -L/usr/local/lib -lmpfr -lgmp 1>&5 configure:2504: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include conftest.c -L/usr/local/lib -L/usr/local/lib -lmpfr -lgmp 1>&5 configure:3675: checking for bison configure:3715: checking for bison configure:3754: checking for gm4 configure:3754: checking for gnum4 configure:3754: checking for m4 configure:3793: checking for flex configure:3833: checking for flex configure:3872: checking for makeinfo configure:3925: checking for expect configure:3966: checking for runtest configure:4014: checking for i686-pc-linux-gnu-ar configure:4045: checking for ar configure:4089: checking for i686-pc-linux-gnu-as configure:4120: checking for as configure:4164: checking for i686-pc-linux-gnu-dlltool configure:4195: checking for dlltool configure:4239: checking for i686-pc-linux-gnu-ld configure:4314: checking for i686-pc-linux-gnu-lipo configure:4345: checking for lipo configure:4389: checking for i686-pc-linux-gnu-nm configure:4420: checking for nm configure:4464: checking for i686-pc-linux-gnu-ranlib configure:4495: checking for ranlib configure:4534: checking for i686-pc-linux-gnu-strip configure:4565: checking for strip configure:4604: checking for i686-pc-linux-gnu-windres configure:4635: checking for windres configure:4679: checking for i686-pc-linux-gnu-objcopy configure:4710: checking for objcopy configure:4754: checking for i686-pc-linux-gnu-objdump configure:4785: checking for objdump configure:4866: checking for alpha-linux-cc configure:4866: checking for alpha-linux-gcc configure:4957: checking for alpha-linux-c++ configure:4957: checking for alpha-linux-g++ configure:4957: checking for alpha-linux-cxx configure:4957: checking for alpha-linux-gxx configure:5048: checking for alpha-linux-gcc configure:5134: checking for alpha-linux-gcj configure:5225: checking for alpha-linux-gfortran configure:5381: checking for ar configure:5435: checking for alpha-linux-ar configure:5534: checking for as configure:5588: checking for alpha-linux-as configure:5687: checking for dlltool configure:5741: checking for alpha-linux-dlltool configure:5840: checking for ld configure:5894: checking for alpha-linux-ld configure:5993: checking for lipo configure:6047: checking for alpha-linux-lipo configure:6146: checking for nm configure:6200: checking for alpha-linux-nm configure:6299: checking for objdump configure:6353: checking for alpha-linux-objdump configure:6452: checking for ranlib configure:6506: checking for alpha-linux-ranlib configure:6605: checking for strip configure:6659: checking for alpha-linux-strip configure:6758: checking for windres configure:6812: checking for alpha-linux-windres configure:6891: checking where to find the target ar configure:6925: checking where to find the target as configure:6959: checking where to find the target cc configure:6993: checking where to find the target c++ configure:7030: checking where to find the target c++ for libstdc++ configure:7067: checking where to find the target dlltool configure:7101: checking where to find the target gcc configure:7135: checking where to find the target gcj configure:7172: checking where to find the target gfortran configure:7209: checking where to find the target ld configure:7243: checking where to find the target lipo configure:7267: checking where to find the target nm configure:7301: checking where to find the target objdump configure:7335: checking where to find the target ranlib configure:7369: checking where to find the target strip configure:7403: checking where to find the target windres configure:7465: checking whether to enable maintainer-specific portions of Makefiles configure:7507: checking whether -fkeep-inline-functions is supported configure:7516: gcc -c -g -O2 -fkeep-inline-functions conftest.c 1>&5