Building GCC/GCJ under cygwin and Win32

Bob Jamison
Thu May 16 04:33:00 GMT 2002


  One method I have tried on other packages recently,
 "when all else fails", is to install both Cygwin
and MinGW on the Win32 machine.

1.  Put cygwin/bin in the path
2.  Start bash
3.  Prepend mingw/bin -in front- of cygwin.
    export PATH=/cygdrive/d/mingw/bin:$PATH
or however it is on your machine
4.  Do your configure/build with --host=mingw32
It might complain, but ignore it.

This does not always work,  but I have been surprised
how well it does in some cases.


More information about the Java mailing list