Building cross compiler for x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux