Hi,
Hector Oron a écrit :
Hello,
2008/7/1 Willy <[EMAIL PROTECTED]>:
checking for library containing gettext... configure: error: Link tests
are not allowed after GCC_NO_EXECUTABLES.
make[3]: *** [configure-target-libstdc++-v3] Error 1
make[3]: Leaving directory `/home/willy/tmp/gcc/gcc-4.1-4.1.1ds2/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/willy/tmp/gcc/gcc-4.1-4.1.1ds2/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: Leaving directory `/home/willy/tmp/gcc/gcc-4.1-4.1.1ds2'
Could you try to install g++ package with libraries and then try again?
The same problem occurs when compiling GCC to produce powerpc code from
AMD64:
Packages installed and created with dpkg-cross
lib64gcc1-powerpc-cross_4.1.1-21_all.deb
libc6-dev-powerpc-cross_2.3.6.ds1-13etch5_all.deb
libc6-dev-ppc64-powerpc-cross_2.3.6.ds1-13etch5_all.deb
libc6-powerpc-cross_2.3.6.ds1-13etch5_all.deb
libc6-ppc64-powerpc-cross_2.3.6.ds1-13etch5_all.deb
libdb1-compat-powerpc-cross_2.1.3-9_all.deb
linux-kernel-headers-powerpc-cross_2.6.18-7_all.deb
Package created for cross-compiling:
binutils-powerpc-linux-gnu_2.17-3_amd64.deb
For launching compilation:
$ apt-get source gcc-4.1
$ cd gcc-4.1-4.1.1ds2
$ export GCC_TARGET=powerpc
$ dpkg-buildpackage -rfakeroot -b > ../gcc.build
result:
$ tail -n 50 ../gcc.build
updating cache ./config.cache
configure: loading cache ./config.cache
checking how to run the C++ preprocessor...
/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc -shared-libgcc
-B/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc -nostdinc++
-L/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/powerpc-linux-gnu/64/libstdc++-v3/src
-L/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/powerpc-linux-gnu/64/libstdc++-v3/src/.libs
-B/usr/powerpc-linux-gnu/bin/ -B/usr/powerpc-linux-gnu/lib/ -isystem
/usr/powerpc-linux-gnu/include -isystem
/usr/powerpc-linux-gnu/sys-include -m64 -fPIC -mstrict-align -E
loading cache ./config.cache within ltconfig
checking host system type... powerpc-unknown-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for objdir... .libs
checking for /home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
option to produce PIC... -fPIC -DPIC
checking if /home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
PIC flag -fPIC -DPIC works... yes
checking if /home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
static flag -static works... no
finding the maximum length of command line arguments... (cached) 49153
checking if /home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
supports -c -o file.o... (cached) yes
checking if /home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
supports -fno-rtti -fno-exceptions ... yes
checking whether the linker
(/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/collect-ld -m
elf64ppc) supports shared libraries...
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse
/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/nm output... failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for exception model to use... call frame
checking for compiler with PCH support... yes
checking for enabled PCH... yes
checking for underlying I/O to use... stdio
checking how to run the C preprocessor...
/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/xgcc
-B/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build/./gcc/
-B/usr/powerpc-linux-gnu/bin/ -B/usr/powerpc-linux-gnu/lib/ -isystem
/usr/powerpc-linux-gnu/include -isystem
/usr/powerpc-linux-gnu/sys-include -m64 -fPIC -mstrict-align -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for C locale to use... gnu
checking for msgfmt... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing gettext... configure: error: Link tests
are not allowed after GCC_NO_EXECUTABLES.
make[3]: *** [configure-target-libstdc++-v3] Error 1
make[3]: Leaving directory `/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: Leaving directory `/home/willy/tmp/gcc-ppc/gcc-4.1-4.1.1ds2'
[EMAIL PROTECTED]:~/tmp/gcc-ppc$
Willy.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]