This is the mail archive of the gcc@gcc.gnu.org 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]

CrossGCC m68k-coff-gcc compilation problem


Hi all,

I was attempting to build a CrossGCC with the compilation error shown below.

FYI, I had installed RHat6.2 onto a Pentium3-450.  Then, I followed the 
CrossGCC FAQ to build binutils and then gcc.  The error message was shown in 
the middle of building gcc.

Could anyone enlighten me how to solve this problem?

Thanks very much in advance,

Ivan

--------- error message ---------
do \
  echo ${name}; \
  /usr/home/ivanlee168/tmp/build-gcc/gcc/xgcc 
-B/usr/home/ivanlee168/tmp/build-gcc/gcc/ -B/m68k-coff/m68k-coff/bin/ 
-I/m68k-coff/m68k-coff/include -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 
-I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I. 
-I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config 
-I../../gcc-2.95.1/gcc/../include -c -DL${name} \
       ../../gcc-2.95.1/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  m68k-coff-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
../../gcc-2.95.1/gcc/libgcc2.c:41: stdlib.h: No such file or directory
../../gcc-2.95.1/gcc/libgcc2.c:42: unistd.h: No such file or directory

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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