This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Problem while compiling gcc for MIPS on Linux


Hi,

When I compile gcc(2.95.3 or 2.95.2) on Linux for platform mips-r3041-elf; I 
get the following error

do \
  echo ${name}; \
  /home/raghav/gcc-2.95.2/gcc/xgcc -B/home/raghav/gcc-2.95.2/gcc/ 
-B/home/raghav
/gcc/mips-r3041-elf/bin/ -I/home/raghav/gcc/mips-r3041-elf/include -O2  
-DCROSS_
COMPILE -DIN_GCC     -g -O2 -I./include  -G 0 -g1  -DIN_LIBGCC2 
-D__GCC_FLOAT_NO
T_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; \
  mips-r3041-elf-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_m16addsf3
as: unrecognized option `-G'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/home/raghav/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2

I am unable to diagnose. Can anyone help me out on this???


Thanx
Raghav


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