
gcl 2.3.7 compiles for windows win32 under mingw.

I have tested it using the msvcrt.dll support.
It is convenient to have a good shell such as bash
 for many of the makefile and configure things.

If you have installed cygwin
and have installed the mingw compilers and includes under
c:/gcc-2.95.2
then in bash add
bash$ export PATH=//c/gcc-2.95.2/bin:$PATH

You need to replace the default sh.exe in cygwin/bin
directory with the superior bash shell.   The sh.exe has a number
of bugs, which prevent it from running ./add-defs1 and some other scripts.
[eg echo */makefile gives many nonexistent files under sh.exe]

cd cygwin/bin
mv sh.exe sh.exe-bad
cp bash.exe sh.exe

The make in the mingw distribution, uses the command.com not the unix shell
and so wont do some of the things in the makefiles...

in c:/gcc-2.95.2
cd c:/gcc-2.95.2/bin
mv make.exe make.exe-ming

so now your path will fall through to the cygwin make, and the ming gcc.

Now you are ready to go!!

bash$ ./configure --enable-machine=mingw
bash$ make


 
 


