From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7779 invoked by alias); 29 Mar 2010 07:57:26 -0000 Received: (qmail 7759 invoked by uid 22791); 29 Mar 2010 07:57:25 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-ww0-f47.google.com (HELO mail-ww0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Mar 2010 07:57:21 +0000 Received: by wwb13 with SMTP id 13so1788637wwb.20 for ; Mon, 29 Mar 2010 00:57:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.37.85 with HTTP; Mon, 29 Mar 2010 00:57:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Mar 2010 11:05:00 -0000 Received: by 10.216.89.203 with SMTP id c53mr2863282wef.79.1269849438697; Mon, 29 Mar 2010 00:57:18 -0700 (PDT) Message-ID: <4348dea51003290057vf674c0ata4395d231dc09dc8@mail.gmail.com> Subject: Re: Error saying cannot compute suffix while building compiler gcc-4.3.2 From: Jonathan Wakely To: Vaibhav Shrimali Cc: gcc-patches@gcc.gnu.org, gcc-help@gcc.gnu.org, gcc@gcc.gnu.org, Ian Lance Taylor Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00417.txt.bz2 On 26 March 2010 07:54, Vaibhav Shrimali wrote: > Hello, > I made some changes in the compiler gcc-4.3.2 and am currently trying > to build the compiler. > There are no compilation error in the source code. I followed the > steps specified at : http://gcc.gnu.org/install/index.html > while configuring i used the command: > > root@vebs-pc:/home/vebs/gcc/gcc# export SUF=-4.3 > root@vebs-pc:/home/vebs/gcc/gcc# /home/vebs/gcc/gcc-4.3.2/configure > --program-suffix=$SUF > root@vebs-pc:/home/vebs/gcc/gcc# make -f Makefile > > it exits and gives the following output.. whose last few lines are: > > ****************************************** > checking for i686-pc-linux-gnu-gcc... /home/vebs/gcc/gcc/./gcc/xgcc > -B/home/vebs/gcc/gcc/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ > -B/usr/local/i686-pc-linux-gnu/lib/ -isystem > /usr/local/i686-pc-linux-gnu/include -isystem > /usr/local/i686-pc-linux-gnu/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[2]: *** [configure-stage1-target-libgcc] Error 1 > make[2]: Leaving directory `/home/vebs/gcc/gcc' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/home/vebs/gcc/gcc' > make: *** [all] Error 2 > ****************************************** As the configure output says: See `config.log' for more details. Your existing compiler is not working correctly, see config.log for more details of what is failing. There is no need to crosspost this to gcc and gcc-patches, please follow up on gcc-help. Jonathan