This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
3.0.4 cross build fails on i686-pc-cygwin.
- From: "Mack Lobell" <macklobell at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 22 Feb 2002 17:41:56
- Subject: 3.0.4 cross build fails on i686-pc-cygwin.
- Bcc:
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