This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Building GCC/GCJ under cygwin and Win32
- From: Bob Jamison <rjamison at lincom-asg dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 16 May 2002 06:36:40 -0500
- Subject: Re: Building GCC/GCJ under cygwin and Win32
John,
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.
Bob