"How to build GCJ for Windows"

Ranjit Mathew rmathew@hotmail.com
Thu Jan 2 13:37:00 GMT 2003


Erik Poupaert wrote:
>>>>> Since I've built GCJ 3.2 using these scripts on both Linux
>>>>> as well as Solaris, theoretically it should be possible to
>>>>> do it using Cygwin (or even MSYS) on Windows as well.
> 
> Do you still need to modify the sources themselves? Are the patches
> (makepatch.sh) incompatible with what's in CVS now?

The patches available on the MinGW SF repository are for
GCJ 3.2 and will not work at all with the current CVS except
with lots of modifications - fortunately, most of these
changes have made it to GCJ 3.3 and can therefore be
ignored. The JNI patches are not committed yet, but can be
found in the archives of the "java-patches" list (under
the subjects "JNI/Win32 Patch #1", etc.).

"makepatch.sh" is really a simple script to create a
single diff file from a source tree where the original files
have been backed up with a ".orig" suffix. This is simply
because I do not use CVS and did not know of a smarter
way of doing this... ;-)


>>>>> My "solution" was to remove AWT packages completely, since
>>>>> they didn't work anyways.
> 
> Feel free to junk AWT and save space everywhere.

Can't do it - this might just prevent a motivated hacker
from creating AWT peers for Win32. ;-)

("If wishes were horses...")

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/





More information about the Java mailing list