This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
configure: error: cannot compute suffix of object files: cannot compile
- From: Timur Tabi <timur at freescale dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 17 Apr 2009 20:36:12 -0500
- Subject: configure: error: cannot compute suffix of object files: cannot compile
I'm building gcc 4.3.3 on Mac OS X 10.5. binutils seems to build
fine, but gcc itself fails with this error:
checking whether ln -s works... yes
checking for powerpc-linux-gcc...
/Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/xgcc
-B/Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/
-B/usr/local/powerpc-linux/bin/ -B/usr/local/powerpc-linux/lib/
-isystem /usr/local/powerpc-linux/include -isystem
/usr/local/powerpc-linux/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[1]: *** [configure-target-libgcc] Error 1
make: *** [all] Error 2
A Google search of this error message shows several people with this
problem, mostly on Solaris, but no real solution.
--
Timur Tabi
Linux kernel developer at Freescale