From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19172 invoked by alias); 4 Jun 2011 22:50:49 -0000 Received: (qmail 19163 invoked by uid 22791); 4 Jun 2011 22:50:49 -0000 X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_50,MISSING_MIMEOLE X-Spam-Check-By: sourceware.org Received: from mailout1.mailcentro.com (HELO c2mailgw101.mailcentro.net) (208.67.179.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Jun 2011 22:50:35 +0000 Received: from c2web210 (wnat.mailcentro.com [208.67.179.158]) by c2mailgw101.mailcentro.net (8.13.8(MC-AXH/MJD-001)/8.13.8.axh-mjd) with SMTP id p54MoTiI000382; Sat, 4 Jun 2011 15:50:31 -0700 X-MC-Sender: ericlin@fsshl.zzn.com X-MC-IPAddr: wnat.mailcentro.com [208.67.179.158] X-Version: Mailcentro(english) X-SenderIP: 99.116.255.96 X-SenderID: 12592607 X-RealDate: 6/4/2011 3:50:34 PM From: "eric lin" Message-Id: Date: Sat, 04 Jun 2011 22:50:00 -0000 Content-Type: text/plain; charset=iso-8859-1 To: gcc-help@gcc.gnu.org Subject: make error:at upgrading to gcc 4.5.2(from 4.4.3) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-MC-Filter: 7.6.5 X-MC-Filter-AntiVirus: Scanned for virus - Status 0 X-MC-FilterSkip: 0 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: 2011-06/txt/msg00093.txt.bz2 Dear gcc programers: when I tried to make(after ./configure, in my downloaded/extracted 4.5.2 of gcc), it fail to compile.(from 4.4.3) also what is difference of gcc and gcc-core? should I install both? when I extracted gcc-core after I extract gcc, I find it gointo same folder as gcc. looking to see your help and thanks a lot in advance, Eric ------------------------------------------------------------------ checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/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: in `/home/eric/disk/gcc-4.5.2/i686-pc-linux-gnu/libgcc': 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/eric/disk/gcc-4.5.2' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/eric/disk/gcc-4.5.2' make: *** [all] Error 2 root@eric-laptop:/home/eric/disk/gcc-4.5.2#