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]

Re: any help? problems of making cross-complier for v850-nec-elf on cygwin


On Wed, Jul 03, 2002 at 01:46:21PM +0900, akihiro terui wrote:

> /home/terui/v850/gcc/xgcc -B/home/terui/v850/gcc/ -nostdinc -B/home/terui/v8
> 50/v850-nec-elf/newlib/ -isystem
> /home/terui/v850/v850-nec-elf/newlib/targ-include -isystem
> /home/terui/gcc-3.0.4/newlib/libc/include -B/usr/local/v850-nec-elf/bin/ -B/
> usr/local/v850-nec-elf/lib/ -isystem
> usr/local/v850-nec-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Ww
> rite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
> ./include -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow  -g1  -DIN
> _LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0.4/g
> cc -I../../gcc-3.0.4/gcc/. -I../../gcc-3.0.4/gcc/config -I../../gcc-3.0.4/gc
> c/../include  -DL_fixunsdfsi -c ../../gcc-3.0.4/gcc/libgcc2.c -o
> libgcc/./_fixunsdfsi.o
> In file included from ../../gcc-3.0.4/gcc/limits.h:125,
>                  from ../../gcc-3.0.4/gcc/syslimits.h:7,
>                  from ../../gcc-3.0.4/gcc/limits.h:11,
>                  from ../../gcc-3.0.4/gcc/libgcc2.c:1166:
> /home/terui/v850/gcc/include/limits.h:125:75: No include path in which to
> find limits.h
> make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1
> make[2]: Leaving directory `/home/terui/v850/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/home/terui/v850/gcc'
> make: *** [all-gcc] Error 2

notice the system include paths, one of them is
/home/terui/gcc-3.0.4/newlib/libc/include

normally this path does not exist.  but if you put a symlink to newlib
inside gcc-3.0.4 that will fix it.

I do not know why configure does not generate proper include pathnames,
but I have used the symlink trick as a workaround.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com

------
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]