This is the mail archive of the gcc-bugs@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]

Error in make cross (linux to mingw32) in 1.0.2


Hi,
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  
   /usr/src/egcs-1.0.2/libiberty/strsignal.c
/usr/src/egcs-1.0.2/libiberty/strsignal.c:246: 
      `NSIG' undeclared here (not in a function)
make[2]: *** [strsignal.o] Error 1
make[2]: Leaving directory 
           `/sw/local_l/kahlert/obj/i686-pc-mingw32/libiberty'
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,
Martin.

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


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