From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23390 invoked by alias); 15 Feb 2008 18:31:19 -0000 Received: (qmail 23369 invoked by uid 22791); 15 Feb 2008 18:31:18 -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; Fri, 15 Feb 2008 18:30:59 +0000 Received: from [192.168.1.120] (unknown [67.162.139.200]) (Authenticated sender: fwmiller@cornfed.com) by smtpauth01.csee.onr.siteprotect.com (Postfix) with ESMTP id DAD641C808B for ; Fri, 15 Feb 2008 11:43:09 -0600 (CST) Subject: Building cross compiler for x86_64 From: "Frank W. Miller" To: gcc-help In-Reply-To: <47B5D8ED.8050609@iee.org> References: <47AF31F9.2060209@iee.org> <47B08AB2.3080508@avtrex.com> <47B0C58C.7080801@iee.org> <47B0CE17.6080408@avtrex.com> <47B1C41E.4070408@iee.org> <47B5D8ED.8050609@iee.org> Content-Type: text/plain Date: Fri, 15 Feb 2008 18:31:00 -0000 Message-Id: <1203100254.14109.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 (2.12.1-3.fc8) 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-02/txt/msg00188.txt.bz2 OK, so I'm off trying to build the x86_64 cross toolchain. My host is FC8 on a PC. binutils-2.18 builds fine. configure --target=x86_64-elf make make install This gets me a nice set of tools in /usr/local/x86_64-elf/bin I then try to build gcc-4.2.3 I tried: configure --prefix=/usr/local --target=x86_64-elf make all-gcc This gets me an error saying x86_64-elf is not a supported target. I think tried substituting make all-gcc with make -k (after deleting the 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 Can anyone comment? Thanks, FM