Configure Error Cannot Compute Suffix Of Object Files Cannot Compile
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the linux configure error cannot compute suffix of object files cannot compile workings and policies of this site About Us Learn more about Stack
Configure Error Cannot Compute Suffix Of Object Files Cannot Compile Centos
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs xgcc: error: unrecognized command line option '-v' Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join https://gcc.gnu.org/wiki/FAQ them; it only takes a minute: Sign up Gcc compilation “cannot compute suffix of object files: cannot compile” up vote 13 down vote favorite 4 I'm actually reading the LFS book (version 7.1) and I'm blocked at page 53. Trying to compile gcc, I tried the following command: ./configure --target=$LFS_TGT --prefix=$LFS/build/gcc-build --disable-nls\ --disable-shared --disable-multilib --disable-decimal-float --disable-threads\ --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath\ http://stackoverflow.com/questions/11502045/gcc-compilation-cannot-compute-suffix-of-object-files-cannot-compile --disable-target-libiberty --disable-target-zlib\ --enable-languages=c\ --without-ppl --without-cloog\ --with-mpfr-include=$LFS/source/mpfr/src --with-mpfr-lib=$LFS/source/mpfr/src/.libs\ --with-gmp-include=/mnt/LFS/source/gmp\ --with-gmp-lib=/mnt/LFS/source/gmp/.libs\ --with-mpc-include=/mnt/LFS/source/mpc/src\ --with-mpc-lib=/mnt/LFS/source/mpc/src/.libs to run the configure script of gcc (of course I already compiled mpfr, mpc and gmp as well). But once I launch: make -j4 I get the following error: checking for suffix of object files... configure: error: in `/mnt/LFS/source/gcc-4.6.2/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 I tried to google for it and tried the solutions I found but nothing worked. Does anyone know why I get this error? linux gcc compiler-construction lfs share|improve this question edited Jul 16 '12 at 10:00 Shahbaz 28.7k659110 asked Jul 16 '12 at 9:57 E-Kami 6952928 Happens when configure tries to compile some test programs. This link might be useful. –ArjunShankar Jul 16 '12 at 10:10 2 See `config.log' for more details. -- Good advice, that's why it is in the error message. –DevSolar Jul 16 '12 at 12:26 Thanks for the link. But I tried everything, and I didn't g
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://stackoverflow.com/questions/12650493/checking-for-suffix-of-object-files-configure-error-cannot-compute-suffix-o Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs http://stackoverflow.com/questions/9141454/compilation-gcc-4-6-2-cannot-compute-suffix-of-object-files Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up checking for suffix of object files… configure: error: cannot compute suffix of object files: cannot compile up vote 8 down vote favorite configure error 3 While building ARM toolchain , I got the following error 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 `
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Compilation gcc 4.6.2 (cannot compute suffix of object files) up vote 12 down vote favorite 1 Problem when compiling gcc 4.6.2: checking for avr-gcc... /data/data6/soft/src_build/gcc-4.6.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/data/data6/soft/src_build/gcc-4.6.2/host-x86_64-unknown-linux-gnu/gcc/ -B/data/data6/soft/programming/gcc-avr/avr/bin/ -B/data/data6/soft/programming/gcc-avr/avr/lib/ -isystem /data/data6/soft/programming/gcc-avr/avr/include -isystem /data/data6/soft/programming/gcc-avr/avr/sys-include checking for suffix of object files... configure: error: in `/data/data6/soft/src_build/gcc-4.6.2/avr/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. In my gcc-4.6.2/avr/libgcc/config.log I found: configure:3268: /data/data6/soft/src_build/gcc-4.6.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/data/data6/soft/src_build/gcc-4.6.2/host-x86_64-unknown-linux-gnu/gcc/ -B/data/data6/soft/programming/gcc-avr/avr/bin/ -B/data/data6/soft/programming/gcc-avr/avr/lib/ -isystem /data/data6/soft/programming/gcc-avr/avr/include -isystem /data/data6/soft/programming/gcc-avr/avr/sys-include -c -g -O2 conftest.c >&5 exec: 89: -o: not found configure:3272: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3286: error: in `/data/data6/soft/src_build/gcc-4.6.2/avr/libgcc': configure:3289: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. If this command run directly (after creating conftest.c) output will be same. What is exec: 89: -o: not found? Which pro