From: "Frank W. Miller" <fwmiller@cornfed.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Building cross compiler for x86_64
Date: Fri, 15 Feb 2008 18:31:00 -0000 [thread overview]
Message-ID: <1203100254.14109.5.camel@localhost.localdomain> (raw)
In-Reply-To: <47B5D8ED.8050609@iee.org>
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
next prev parent reply other threads:[~2008-02-15 18:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-10 17:14 Forward declaration of classes needed when using GCJ? Andrew W
2008-02-11 17:50 ` David Daney
[not found] ` <47B098D1.1050200@iee.org>
2008-02-11 18:58 ` David Daney
2008-02-11 21:56 ` Andrew W
2008-02-11 22:37 ` David Daney
2008-02-12 16:02 ` Andrew W
2008-02-12 17:48 ` Andrew Haley
2008-02-15 18:24 ` Andrew W
2008-02-15 18:31 ` Frank W. Miller [this message]
2008-02-16 0:00 ` Building cross compiler for x86_64 Brian Dessent
2008-02-16 0:14 ` Frank W. Miller
2008-02-16 0:33 ` Brian Dessent
2008-02-16 20:06 ` Frank W. Miller
2008-02-17 2:52 ` Brian Dessent
2008-02-17 2:55 ` NightStrike
2008-02-18 4:39 ` Frank W. Miller
2008-02-15 19:51 ` Forward declaration of classes needed when using GCJ? Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203100254.14109.5.camel@localhost.localdomain \
--to=fwmiller@cornfed.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).