This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Dmitry, Sorry, I missed that you were trying to use newlib, these files are included with newlib. Nevertheless, it sounds like newlib is not installed into your gcc directory. So ignore the --with-headers command and try this first: cd <src-dir>/gcc-3.0.4 ln -s <src-dir>/newlib-1.9.0/newlib newlib ln -s <src-dir>/newlib-1.9.0/libgloss libgloss Then reconfigure/make GCC+newlib with adding in a --enable-languages=c,c++ (but only with whichever other languages you need. Choices are c++,f77,java,objc,ada) Also, make sure you are just using "make" not "make bootstrap". Please followup only to crossgcc@sources.redhat.com, gcc@gcc.gnu.org is for compiler developers. Kelley Cook "Dmitry Ryzhkov" <rdim_outside@softhome.net> on 05/15/2002 06:05:11 PM To: "Kelley Cook" <kelley.r.cook@gm.com>, <gcc@gcc.gnu.org> cc: Subject: Re: Can't compile gcc - libiberty (argv.c) error! Hi Kelley, Thank you very much for your help! Do you mean string.h and stdlib.h must be hardware-dependent for xscale?? The problem is that I have no any special header files for this target, only made by regular binutils creation... But "--prefix=" directory tree does not contain neither stdlib.h nor string.h :( Moreover, while in make I see lot of "checking for stdlib.h...ok" informations during other previous building steps. For argv.c it seems it wasn't checkd and, to regret, files were not found. Any idea about special headers location? May be I need to download them from some other palce? Thanks a lot, Dmitry. P.S. You say "to tell cross-compiler...", but for the moment of error I have no cross-compiler installed! Problem occures just in time of building of cross-compiler itself... ----- Original Message ----- From: "Kelley Cook" <kelley.r.cook@gm.com> To: <gcc@gcc.gnu.org>; <rdim_outside@softhome.net> Sent: Wednesday, May 15, 2002 8:54 PM Subject: 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 > >/root/gcc/gcc-3.0.4/newlib/libc/include > > -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 -pedanti c > >../../../gcc-3.0.4/libiberty/argv.c > >../../../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. > > http://gcc.gnu.org/install/configure.html > > Kelley Cook > > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |