This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[crosstool] error: config requires -mlong-double-128 IBM extended format support


My OS is Kubuntu 7.04 Feisty x86-64. The GCC I have on this system is:
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

I'm using the crosstool.sh script. I'm trying to create a cross-compiler for PowerPC 750. Here is the command I'm using:

$ \
PREFIX=Final \
BUILD_DIR=Build \
SRC_DIR=Source \
BINUTILS_DIR=binutils-2.17 \
GCC_DIR=gcc-4.2.0 \
GLIBC_DIR=glibc-2.6 \
TARGET=powerpc-750-linux-gnu \
TARGET_CFLAGS="-O" \
LINUX_DIR=linux-2.6.22.1 \
GCC_BUILD=x86_64-unknown-linux-gnu \
GCC_EXTRA_CONFIG="--with-cpu=750 --enable-cxx-flags=-mcpu=750" \
./crosstool.sh

In the Source directory, I've downloaded and unpacked binutils-2.17.tar.bz2, gcc-4.2.0.tar.bz2, glibc-2.6.tar.bz2, and linux-2.6.22.1.tar.bz2. I assume crosstool will use the Build directory for building and place a completed PowerPC cross-compiler in the Final directory (that's the way I understand it so far).

However, Glibc configuration fails. Here are the last few lines of output:
...
checking for long double... yes
checking size of long double... 16
running configure fragment for sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... no
running configure fragment for sysdeps/unix/sysv/linux/powerpc
checking whether gcc -g -O2 -mlong-double-128 uses IBM extended format... no
checking whether gcc -g -O2 supports -mabi=ibmlongdouble... no
configure: error: this configuration requires -mlong-double-128 IBM extended format support

Does this all make sense? I hope I'm not the only person who gets this error. Is it a problem with the GCC that came with Kubuntu?
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one place! Find it!
http://maps.live.com/?wip=69&FORM=MGAC01

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]