public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* configure: error: cannot compute suffix of object files: cannot   compile
@ 2009-04-18  1:36 Timur Tabi
  2009-04-18  3:54 ` Timur Tabi
  0 siblings, 1 reply; 3+ messages in thread
From: Timur Tabi @ 2009-04-18  1:36 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure: error: cannot compute suffix of object files: cannot   compile
  2009-04-18  1:36 configure: error: cannot compute suffix of object files: cannot compile Timur Tabi
@ 2009-04-18  3:54 ` Timur Tabi
  0 siblings, 0 replies; 3+ messages in thread
From: Timur Tabi @ 2009-04-18  3:54 UTC (permalink / raw)
  To: gcc-help

On Fri, Apr 17, 2009 at 8:36 PM, Timur Tabi <timur@freescale.com> wrote:
> 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:

I fixed this.  I cleaned out the binutils and gcc targets, and this
time I configured, built, and installed binutils completely before
configuring gcc.  If gcc needs binutils, then why doesn't it complain
when binutils is missing?

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 3+ messages in thread

* configure: error: cannot compute suffix of object files: cannot compile
@ 2013-05-10 14:19 YuGiOhJCJ Mailing-List
  0 siblings, 0 replies; 3+ messages in thread
From: YuGiOhJCJ Mailing-List @ 2013-05-10 14:19 UTC (permalink / raw)
  To: gcc-help

Hello,

When I am compiling gcc 4.7.1 on Slackware 14, I got an error:
$ ../gcc-4.7.1/configure --prefix=/usr/i686-pc-mingw32 --target=i686-pc-mingw32 --disable-shared --enable-languages=c --disable-nls
$ make
[...]
checking for i686-pc-mingw32-gcc... /home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/./gcc/xgcc -B/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/./gcc/ -L/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/winsup/mingw -L/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/winsup/w32api/lib -isystem /home/yugiohjcj/documents/downloads/software/gcc-4.7.1/winsup/mingw/include -isystem /home/yugiohjcj/documents/downloads/software/gcc-4.7.1/winsup/w32api/include -B/usr/i686-pc-mingw32/i686-pc-mingw32/bin/ -B/usr/i686-pc-mingw32/i686-pc-mingw32/lib/ -isystem /usr/i686-pc-mingw32/i686-pc-mingw32/include -isystem /usr/i686-pc-mingw32/i686-pc-mingw32/sys-include   
checking for suffix of object files... configure: error: in `/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/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 `/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp'
make: *** [all] Error 2

And this is what I can see in the config.log file:
$ cat config.log | grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
stage2_werror_flag=''
$ cat config.log | grep cannot
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: cannot find -lpwl

Do you see why I got this error ?

Thank you.
Regards.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-10 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-18  1:36 configure: error: cannot compute suffix of object files: cannot compile Timur Tabi
2009-04-18  3:54 ` Timur Tabi
2013-05-10 14:19 YuGiOhJCJ Mailing-List

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).