Error in make cross (linux to mingw32) in 1.0.2

Jim Wilson wilson@cygnus.com
Thu Mar 19 16:38: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':

EGCS and gnuwin32 are not yet completely compatible with each other.
I expect this will be fixed by the time of the next gnuwin32 release.

See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/index.html
for more info and some prebuilt binaries.

	/usr/src/egcs-1.0.2/libiberty/strsignal.c:246: 
	      `NSIG' undeclared here (not in a function)

I believe this was fixed a while ago in the development sources by this
change.

Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)

        * strsignal.c (sys_nsig): Try NSIG and _NSIG.

Try getting the patch from the CVS tree or using one of the snapshots.

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

It means that the compiler gcc was built successfully, but the build failed
while trying to build the runtime libraries, e.g. the C++ runtime library,
because of a problem with the runtime library code.

Jim



More information about the Gcc-bugs mailing list