<div dir="ltr">Hello all,<br><br>I am trying to create a toolchain by hand and I am facing some problems when I try to configure the glibc 2.7 for a powerpc. When I try to configure the glibc to install the headers I get the following error:<br>
<br><font style="font-family: courier new,monospace;" size="1">configure --prefix=/usr --host=powerpc-440-linux-gnu --with-headers=${SYSROOT}/usr/include --disable-shared --without-cvs --with-binutils=/home/azanetti/ml507/powerpc/bin/<br>
<br>checking build system type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linux-gnu<br>configure: running configure fragment for add-on nptl<br>checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether ln -s works... yes<br>checking for gcc... gcc<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking how to run the C preprocessor... gcc -E<br>checking for g++... g++<br><br>.<br>.<br>.<br>checking for long double... yes<br>
checking size of long double... 12<br>running configure fragment for sysdeps/powerpc/powerpc32/elf<br>checking for powerpc32 TLS support... no<br>running configure fragment for sysdeps/unix/sysv/linux/powerpc<br>checking whether gcc -B/home/azanetti/ml507/powerpc/bin/ -g -O2 -mlong-double-128 uses IBM extended format... no<br>
checking whether gcc -B/home/azanetti/ml507/powerpc/bin/ -g -O2 supports -mabi=ibmlongdouble... no<br>configure: error: this configuration requires -mlong-double-128 IBM extended format support<br><br></font><br>I already have the binutils 2.18 compiled on my PATH. I know that it is easier to use a script like crosstool to compile it but I do want to understand what is happening behind the scenes.<br>
<br>Regards.<br><br>Ademir<br></div>