libgcc1-test Error for building mingw hosted SH targetted cross compiler on cygwin

Wed Jan 9 06:36:00 GMT 2002

I am doing a canadian cross for building a mingw hosted SH targetted cross
compiler on cygwin environment.
I have built a cygwin to mingw and cygwin to SH cross compilers and using
that to build mingw
to SH cross compiler.
I am using
MinGW-1.1.tar.gz , mingw-runtime-1.2-1 source, w32api-1.2 source, cygwin-1.2

I have built binutils successfully.
For building a core compiler
i.e. make LANGUAGES="c, c++"  all-gcc configured
with --build=i686-pc-cygwin --host=i386-pc-mingw and --target=sh-elf I get
the following error -

Testing libgcc1.  Ignore linker warning messages.^M
sh-elf-gcc -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-pro
totypes -Wmiss
ing-prototypes -isystem ./include  libgcc1-test.o -o libgcc1-test \^M
  -nostartfiles -nostdlib `sh-elf-gcc --print-libgcc-file-name`^M
make[1]: *** [libgcc1-test] Error 1^M

I had commented USE_COLLECT2 in gcc/Makefile as suggested by Mumit Khan for
collect2 problem for mingw.

What steps I need to do further?

Many thanks for any help

Anita Kulkarni

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list