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]

cygwin-powerpc problems


Hi all,
 
I am using cygwin gnu tools on win nt 4.0 and trying to build a cross compiler for powerpc-eabi on win nt.  I downloaded the binutils and i am able to configure it and make it.
 
But after configuring the 'gcc' when i make it i am getting some errors. I went through the latest archives and i could not find any answer.  Let me explain in detail.
 
My gcc source is in /gcc-2.95.2 directory, newlib is in /newlib-1.8.2 directory and i want my final tools in /powerpc directory. I executed the following steps
 
bash$ mkdir /buildgcc
bash$ cd /buildgcc
bash$ /gcc-2.95.2/configure --target=ppc-eabi --prefix=/powerpc \
          --nfp --with-cpu=603e --with-gnu-as --with-gnu-ld --with-newlib \
         --with-headers=/newlib-1.8.2/newlib/libc/include -v
 
# Upto this point no problems
 
bash$ make cross install
 
After some 10 minutes of compilation i got the following errors
  echo ${name}; \
  /buildgcc/gcc/xgcc -B/buildgcc/gcc/ -B/powerpc/powerpc-eabi/bin/ -I/powerpc/po
werpc-eabi/include -O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2 -I./include
 -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc   -mrelocatable-lib -
mno-eabi -mstrict-align -I. -I/gcc-2.95.2/gcc -I/gcc-2.95.2/gcc/config -I/gcc-2.
95.2/gcc/../include -c -DL${name} \
       /gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  powerpc-eabi-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
as: unrecognized option `-ppc'
make[3]: *** [libgcc2.a] Error 1
make[2]: *** [stmp-multilib-sub] Error 2
make[1]: *** [stmp-multilib] Error 1
make: *** [cross] Error 2
 
Can anybody who has come across the same problem help me out?
 
with best regards,
Sankar

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