From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29680 invoked by alias); 26 Mar 2010 07:55:13 -0000 Received: (qmail 29653 invoked by uid 22791); 26 Mar 2010 07:55:11 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-gx0-f216.google.com (HELO mail-gx0-f216.google.com) (209.85.217.216) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Mar 2010 07:55:07 +0000 Received: by gxk8 with SMTP id 8so1701092gxk.9 for ; Fri, 26 Mar 2010 00:55:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.74.210 with HTTP; Fri, 26 Mar 2010 00:54:45 -0700 (PDT) From: Vaibhav Shrimali Date: Fri, 26 Mar 2010 17:27:00 -0000 Received: by 10.90.1.20 with SMTP id 20mr348221aga.12.1269590105300; Fri, 26 Mar 2010 00:55:05 -0700 (PDT) Message-ID: Subject: Error saying cannot compute suffix while building compiler gcc-4.3.2 To: 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 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 X-SW-Source: 2010-03/txt/msg00311.txt.bz2 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 ****************************************** I have tried configuring it: 1. without suffix 2. exporting suffix in environment variable and using that environment variable as suffix 3. without using environment variable as suffix but none of the above methods worked. Please tell me where I am wrong. Thank You. -- Vaibhav Shrimali BTech(ICT), DA-IICT Gandhinagar