Phil Blecker
Tue Jan 5 12:21:00 GMT 1999

While building a cross-compiler, I got a _G_config.h that was not right for
the target. The newly built compiler for the target was not being used for
the checks in gen-params, the host system compiler was. I was building in a
subdirectory of the top level EGCS directory. So the directory gen-params
was running in was egcs/cygwin/i586-pc-cygwin32/libio. This fixed it for
me, but I don't know if will work under every setup:

Index: egcs.44/libio/gen-params
--- egcs.44/libio/gen-params Sat, 07 Feb 1998 01:25:27 -0800 tmwg (gcc/C/1_gen-params 751)
+++ egcs.44(w)/libio/gen-params Tue, 05 Jan 1999 09:39:10 -0800 tmwg (gcc/C/1_gen-params 751)
@@ -45,7 +45,7 @@
 CC=${CC-`if [ -f ${gccdir}/xgcc ] ; \

More information about the Gcc-bugs mailing list