From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14493 invoked by alias); 10 May 2013 14:19:59 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14482 invoked by uid 89); 10 May 2013 14:19:59 -0000 X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from smtpout6.laposte.net (HELO smtpout.laposte.net) (193.253.67.231) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 10 May 2013 14:19:58 +0000 Received: from samson.geekdomain ([82.246.226.4]) by mwinf8512-out with ME id aEKw1l00306KZ4J03EKwRU; Fri, 10 May 2013 16:19:56 +0200 Date: Fri, 10 May 2013 14:19:00 -0000 From: YuGiOhJCJ Mailing-List To: gcc-help@gcc.gnu.org Subject: configure: error: cannot compute suffix of object files: cannot compile Message-Id: <20130510161952.bb47b8de0e5467276462460a@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2013-05/txt/msg00072.txt.bz2 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.