From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1639 invoked by alias); 22 Feb 2002 17:42:07 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1463 invoked from network); 22 Feb 2002 17:42:02 -0000 Received: from unknown (HELO hotmail.com) (64.4.21.9) by sources.redhat.com with SMTP; 22 Feb 2002 17:42:02 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 22 Feb 2002 09:42:01 -0800 Received: from 212.209.167.100 by lw14fd.law14.hotmail.msn.com with HTTP; Fri, 22 Feb 2002 17:41:56 GMT X-Originating-IP: [212.209.167.100] From: "Mack Lobell" To: gcc@gcc.gnu.org Bcc: Subject: 3.0.4 cross build fails on i686-pc-cygwin. Date: Fri, 22 Feb 2002 09:52:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Feb 2002 17:42:01.0910 (UTC) FILETIME=[3C175560:01C1BBC8] X-SW-Source: 2002-02/txt/msg01313.txt.bz2 Hi, i'm trying to build a 3.0.4 cross compiler for powerpc target. Binutils is installed in /usr/local/powerpc and compiled for powerpc-eabi. The build was configured the following way: $ gcc --version 2.95.3-5 $ target=powerpc-eabi $ host=i686-pc-cygwin $ build=i686-pc-cygwin $ prefix=/usr/local/powerpc $../../gcc-3.0.4/configure --enable-languages=c,c++ --with-included-gettext --enable-shared --enable-threads --target=$target --with-newlib --prefix=$prefix --with-ld=/usr/local/powerpc/bin/powerpc-eabi-ld.exe --with-as=/usr/local/powerpc/bin/powerpc-eabi-as.exe --host=$host --build=$build -v > cross_conf.log 2>&1 $ make CFLAGS="-v -save-temps" > cross_make.log 2>&1 The build fails when trying to compile libiberty/argv.c. make[1]: Entering directory `/home/guest/build/gcc/powerpc-eabi/libiberty' if [ x"-fPIC" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir CONFIG_FILES= CONFIG_HEADERS=config.h:config.in /bin/sh ./config.status creating config.h config.h is unchanged if [ x"-fPIC" != x ]; then \ /home/guest/build/gcc/gcc/xgcc -B/home/guest/build/gcc/gcc/ -nostdinc -B/home/guest/build/gcc/powerpc-eabi/newlib/ -isystem /home/guest/build/gcc/powerpc-eabi/newlib/targ-include -isystem /home/guest/gcc-3.0.4/newlib/libc/include -B/usr/local/powerpc/powerpc-eabi/bin/ -B/usr/local/powerpc/powerpc-eabi/lib/ -isystem /usr/local/powerpc/powerpc-eabi/include -c -DHAVE_CONFIG_H -v -save-temps -I. -I../../../../gcc-3.0.4/libiberty/../include -W -Wall -Wtraditional -pedantic -fPIC ../../../../gcc-3.0.4/libiberty/argv.c -o pic/argv.o; \ else true; fi Reading specs from /home/guest/build/gcc/gcc/specs Configured with: ../../gcc-3.0.4/configure --enable-languages=c,c++ --with-included-gettext --enable-shared --enable-threads --target=powerpc-eabi --with-newlib --prefix=/usr/local/powerpc --with-ld=/usr/local/powerpc/bin/powerpc-eabi-ld.exe --with-as=/usr/local/powerpc/bin/powerpc-eabi-as.exe --host=i686-pc-cygwin --build=i686-pc-cygwin -v Thread model: single gcc version 3.0.4 /home/guest/build/gcc/gcc/cpp0.exe -lang-c -nostdinc -v -I. -I../../../../gcc-3.0.4/libiberty/../include -iprefix /home/guest/build/gcc/gcc/../lib/gcc-lib/powerpc-eabi/3.0.4/ -isystem /home/guest/build/gcc/gcc/include -isystem /home/guest/build/gcc/powerpc-eabi/newlib/include -isystem /usr/local/powerpc/powerpc-eabi/bin/include -isystem /usr/local/powerpc/powerpc-eabi/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -DPPC -D__embedded__ -D__PPC__ -D__embedded__ -D__PPC -Asystem=embedded -Acpu=powerpc -Amachine=powerpc -D__CHAR_UNSIGNED__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -W -Wall -Wtraditional -pedantic -D__PIC__=2 -D__pic__=2 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -DHAVE_CONFIG_H -isystem /home/guest/build/gcc/powerpc-eabi/newlib/targ-include -isystem /home/guest/gcc-3.0.4/newlib/libc/include -isystem /usr/local/powerpc/powerpc-eabi/include ../../../../gcc-3.0.4/libiberty/argv.c argv.i ignoring nonexistent directory "/home/guest/build/gcc/powerpc-eabi/newlib/include" ignoring nonexistent directory "/usr/local/powerpc/powerpc-eabi/bin/include" ignoring nonexistent directory "/usr/local/powerpc/powerpc-eabi/lib/include" ignoring nonexistent directory "/home/guest/build/gcc/powerpc-eabi/newlib/targ-include" ignoring nonexistent directory "/home/guest/gcc-3.0.4/newlib/libc/include" ignoring nonexistent directory "/usr/local/powerpc/powerpc-eabi/include" GNU CPP version 3.0.4 (cpplib) (PowerPC Embedded) #include "..." search starts here: #include <...> search starts here: . ../../../../gcc-3.0.4/include /home/guest/build/gcc/gcc/include End of search list. ../../../../gcc-3.0.4/libiberty/argv.c:35:20: string.h: No such file or directory ../../../../gcc-3.0.4/libiberty/argv.c:36:20: stdlib.h: No such file or directory make[1]: *** [argv.o] Error 1 make[1]: Leaving directory `/home/guest/build/gcc/powerpc-eabi/libiberty' make: *** [all-target-libiberty] Error 2 If needed i have the logs from make and configure, and i have the preprocessed files. I have the same problem trying to build a 3.0.3 cross. Is this is bug or is it me? Regards. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com