This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

An error on building cross gcc


Hi everyone..

I tried to build a cross compiler on a Red Hat 6.1 (i686) system for
strong arm target with binutils-2.9.5.0.27 and gcc-2.95.1.

But I failed with following error message.

configure --target=arm-linux --with-cpu=strongarm1100
...

make [LANGUAGE=c]
...

*************************************************************************
rm -f tmplibgcc1.a libgcc1.S
cp ./config/arm/lib1funcs.asm libgcc1.S
for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx; \
do \
  echo ${name}; \
  /usr/local/src/gcc-2.95.1/gcc/xgcc -B/usr/local/src/gcc-2.95.1/gcc/
-B/usr/local/arm-linux/bin/ -I/usr/local/arm-linux/include -O2  -DCROSS_COMPILE
-DIN_GCC     -g -O2 -I./include  -fomit-frame-pointer -fPIC -g0
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I./config
-I./../include -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  arm-linux-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_udivsi3
_divsi3
_umodsi3
_modsi3
_dvmd_lnx
libgcc1.S:438: asm/unistd.h: can't find such a file or directory
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-2.95.1/gcc'
make: *** [all-gcc] Error 2
*************************************************************************

Please help me. Thank you.


Changho

mailto:cityhunt@nuri.net


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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