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]

Cross compiling gcc for powerpc-eabi on i686-pc-cygwin32 host


I am trying to cross compile gcc for a powerpc target and since I need
elf  format I choose eabi.

I have the following source tarballs as per
http://www.objsw.com/CrossGCC/FAQ-2.html.

    binutils-2.9.1.tar.gz
    gcc-2.95.2.tar.gz
    gdb-4.17.tar.gz
    newlib-1.8.2.tar.gz

I am using the method listed in
http://www.objsw.com/CrossGCC/FAQ-4.html#ss4.5

I am getting the following error:

   make[1]: Entering directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd'
   make all-recursive
   make[2]: Entering directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd'
   Making all in doc
   make[3]: Entering directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd/doc'
   make[3]: Nothing to be done for `all'.
   make[3]: Leaving directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd/doc'
   make[2]: Leaving directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd'
   rm -f bfd-tmp.h
   cp bfd-in3.h bfd-tmp.h
   /bin/sh ../../src/bfd/../move-if-change bfd-tmp.h bfd.h
   rm -f bfd-tmp.h
   touch stmp-bfd-h
   make[1]: *** No rule to make target
`../../src/bfd/../include/aout/ar.h', needed by `archive.lo'.  Stop.
   make[1]: Leaving directory
`/work/HTC/GNUSource/cross-compile/b-powerpc-eabi/bfd'
   make: *** [all-bfd] Error 2

Should I switch to a linux box and do a cannadian cross.


Thanks for your help.
Stephen




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