in reply to Re^3: Disappointed with latest Strawberry Perl
in thread Disappointed with latest Strawberry Perl

If you don't have those set, try setting them and compiling again

I have:
INCLUDE=;C:\strawberry-perl\mingw\include;C:\strawberry-perl\perl\lib\ +CORE;C:\strawberry-perl\perl\lib\encode;C:\strawberry\c\include;C:\st +rawberry\perl\lib\CORE;C:\strawberry\c\include;C:\strawberry\perl\lib +\CORE LIB=;C:\strawberry-perl\mingw\lib;C:\strawberry-perl\perl\bin;C:\straw +berry\c\li b;C:\strawberry\perl\bin;C:\strawberry\c\lib;C:\strawberry\perl\bin
They're all there except for the GnuWin32\include. There's certainly plenty of locations mentioned there that contain stdio.h - though the error is not that stdio.h can't be found, but that there's no path in which to search for it.

I thought I got past that error at one time, but now I find I can only avoid the no include path in which to search for stdio.h error by commenting out #include <stdio.h> in the source file ... but then I get:
ld: crt2.o: No such file: No such file or directory
The issue has come up a number of times on the MinGW mailing list, and the solution has always been to use the patched executables - or to rebuild MinGW using the patched source. (No other solutions have been offered, afaik.) Rebuilding MinGW would certainly fix my issue with g77, but I've yet to find instructions (that I can comprehend) on how to do that. Unfortunately, whilst various people have made available patched versions of gcc, g++ and collect2, no-one has yet provided a patched version of g77.

I appreciate you taking the time to consider this issue, btw.

Cheers,
Rob

Update: For a bit of an explanation of what's really going on (and the fixes produced), see the thread http://www.nabble.com/environment-hosed-during-upgrade-to9195667.html
And the best source I know of for the patched executables is http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz.