Error in make cross (linux to mingw32) in 1.0.2

Martin Kahlert
Tue Mar 17 01:50:00 GMT 1998

when i did a 'configure --target=i686-pc-mingw32' for
building a linux to mingw32 cross compiler with egcs-1.0.2,
i get the following error while executing 'make cross':

/sw/local_l/kahlert/obj/gcc/xgcc -B/sw/local_l/kahlert/obj/gcc/ 
   -c -g -O2 -I. -I/usr/src/egcs-1.0.2/libiberty/../include  
      `NSIG' undeclared here (not in a function)
make[2]: *** [strsignal.o] Error 1
make[2]: Leaving directory 
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/sw/local_l/kahlert/obj'
make: *** [cross] Error 2

Doesn't that mean, that a first compilation pass has succeeded, yet
and it tries to compile it with itself?

What can I do, to get it working?

egcs-2.91.09 980221 works very well as a cross compiler.

Thanks for any help,

PS: If possible, please reply via email, too.

More information about the Gcc-bugs mailing list