From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15873 invoked by alias); 16 Feb 2008 00:14:30 -0000 Received: (qmail 15863 invoked by uid 22791); 16 Feb 2008 00:14:30 -0000 X-Spam-Check-By: sourceware.org Received: from smtpauth01.csee.onr.siteprotect.com (HELO smtpauth01.csee.onr.siteprotect.com) (64.26.60.145) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 16 Feb 2008 00:13:53 +0000 Received: from cornfed (unknown [67.162.139.200]) (Authenticated sender: fwmiller@cornfed.com) by smtpauth01.csee.onr.siteprotect.com (Postfix) with ESMTP id 5AEE91C802C for ; Fri, 15 Feb 2008 17:26:02 -0600 (CST) From: "Frank W. Miller" To: "'gcc-help'" Subject: RE: Building cross compiler for x86_64 Date: Sat, 16 Feb 2008 00:14:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <47B62760.D8FE6067@dessent.net> Message-Id: <20080215232602.5AEE91C802C@smtpauth01.csee.onr.siteprotect.com> 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-02/txt/msg00192.txt.bz2 Thanks for the reply. I'm building 4.2.3 which was release on 2/1/08, 2 weeks ago. Are you saying there a more recent version that has that in it? I'll send another email without the -k so it bombs at the first error. How do I disable the building of the libs you are mentioning? Thanks, FM -----Original Message----- From: Brian Dessent [mailto:brian@dessent.net] Sent: Friday, February 15, 2008 4:59 PM To: Frank W. Miller Cc: gcc-help Subject: Re: Building cross compiler for x86_64 "Frank W. Miller" wrote: > This gets me an error saying x86_64-elf is not a supported target. I I think you'll need to use a more recent version. The support for bare metal x86_64 wasn't added until r127798: . You could probably just apply that patch to whatever version you're using. > source tree and starting over). I get this error somewhere down the > line: > > source='../.././libdecnumber/decimal128.c' object='decimal128.o' > libtool=no gcc -I../.././libdecnumber -I. -g -O2 -W -Wall > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes > -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic > -Wno-long-long -I../.././libdecnumber -I. > -c ../.././libdecnumber/decimal128.c > rm -f libdecnumber.a > ar cru libdecnumber.a decNumber.o decContext.o decUtility.o decimal32.o > decimal64.o decimal128.o > ranlib libdecnumber.a > make[2]: Leaving directory > `/home/fwmiller/Desktop/gcc-4.2.3/host-i686-pc-linux-gnu/libdecnumber' > make[1]: Target `all-host' not remade because of errors. > make[1]: Target `all-target' not remade because of errors. > make[1]: Leaving directory `/home/fwmiller/Desktop/gcc-4.2.3' > make: *** [all] Error 2 That's not the error per se. The actual error was earlier in the process, but because of -k it kept continuing to build things that didn't depend on the makefile target that errored. So the above doesn't really say anything, other than that something went wrong earlier. BTW you're definitely going to want to disable things like libmudflap, libssp, libdecnumber, libgomp, etc. if any of them turn out to be enabled by default. Brian