This is the mail archive of the mailing list for the GCC project.

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

Re: Can't compile gcc - libiberty (argv.c) error!

>[build#]../gcc-3.0.4/configure --target=xscale-elf --prefix=/xtls
> --exec-prefix=/xtls/H-i686-pc-linux-gnu --with-newlib --with-gnu-as
> --with-gnu-ld 
>Build fails with error: 
>/root/gcc/build/gcc/xgcc -B/root/gcc/build/gcc/ -nostdinc
> -B/root/gcc/build/xscale-elf/newlib/ -isystem
>/root/gcc/build/xscale-elf/newlib/targ-include -isystem
> -B/xtls/H-i686-pc-linux-gnu/xscale-elf/bin/
> -B/xtls/H-i686-pc-linux-gnu/xscale-elf/lib/ -isystem
>/xtls/H-i686-pc-linux-gnu/xscale-elf/include -c -DHAVE_CONFIG_H -g -O2 -I.
> -I../../../gcc-3.0.4/libiberty/../include  -W -Wall -Wtraditional -pedantic
>../../../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
You need to tell the cross-compiler where a copy of the xscale-elf system 
headers are.  See --with-headers and --with-libs options of configure.

Kelley Cook

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