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


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

win32 hosted 68k cross compiler


hi,
i am trying to build a cygwin32(version b18) hosted m68k cross compiler.
i am doing this build on a cygwin32 platform. the make in binutils
succeeds, but the make install fails with the following errors:

for i in size objdump nm.new ar strings strip.new ranlib c++filt objcopy
addr2line    ; do \
  /win32/src/binutils-2.8.1/install.sh -c -t='-e s,^,m68k-coff-, ' $i
/win32/bar/bin/`echo $i | sed -e 's/.new//'` ; \
done
cp: size: No such file or directory
cp: objdump: No such file or directory
cp: ar: No such file or directory
cp: strings: No such file or directory
cp: ranlib: No such file or directory
cp: c++filt: No such file or directory
cp: objcopy: No such file or directory
cp: addr2line: No such file or directory
make: *** [install] Error 1
make: *** [install-binutils] Error 2

this error i know is because size, objdumb and co. has a .exe extension
to them. i could possibly go in and hack the makefile and add the .exe
myself. i was wondering if there is a simpler way of doing this.
like a switch which tells gcc not to add the .exe's 

also i would like to know if anyone has build m68k toolchain from 
a cygwin32 platform before. do i need to apply any patches.

my configurations are

binutils-2.8.1
gcc-2.7.2.2
newlib-1.8.0
host = i586-pc-cygwin32
target = m68k-coff
build = i586-pc-cygwin32

thanks for suggestions/help

sandeep