From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13320 invoked by alias); 18 Apr 2009 01:36:19 -0000 Received: (qmail 13310 invoked by uid 22791); 18 Apr 2009 01:36:18 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f106.google.com (HELO mail-qy0-f106.google.com) (209.85.221.106) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Apr 2009 01:36:14 +0000 Received: by qyk4 with SMTP id 4so2355108qyk.0 for ; Fri, 17 Apr 2009 18:36:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.67.203 with SMTP id s11mr4568725qai.198.1240018572064; Fri, 17 Apr 2009 18:36:12 -0700 (PDT) Date: Sat, 18 Apr 2009 01:36:00 -0000 Message-ID: Subject: configure: error: cannot compute suffix of object files: cannot compile From: Timur Tabi To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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: 2009-04/txt/msg00228.txt.bz2 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