From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15944 invoked by alias); 28 Aug 2008 13:42:12 -0000 Received: (qmail 15930 invoked by uid 22791); 28 Aug 2008 13:42:11 -0000 X-Spam-Check-By: sourceware.org Received: from dessent.net (HELO dessent.net) (69.60.119.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Aug 2008 13:41:33 +0000 Received: from localhost.localdomain ([127.0.0.1] helo=dessent.net) by dessent.net with esmtp (Exim 4.50) id 1KYhkf-00067s-1b; Thu, 28 Aug 2008 13:41:30 +0000 Message-ID: <48B6AB08.83A924E8@dessent.net> Date: Sun, 31 Aug 2008 00:53:00 -0000 From: Brian Dessent Reply-To: gcc-help@gcc.gnu.org X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Jerin Joy CC: gcc-help@gcc.gnu.org Subject: Re: checking for suffix of object file References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2008-08/txt/msg00315.txt.bz2 Jerin Joy wrote: > I'm trying to build gcc 4.3.1 on Linux. The configure works. 'make' > dies with the error: > > checking for suffix of object files... configure: error: cannot > compute suffix of object files: cannot compile > See `config.log' for more details. As it says, the config.log (in the libgcc subdirectory, not toplevel) will contain the answer. Most likely you will see an error along the lines of "unable to find shared library libgmp.so" (or libmpfr.so.) This happens if you installed them as shared libraries in a non-system location without informing the dynamic linker of their location, via LD_LIBRARY_PATH or ld.so.conf. Brian