I updated my Cygiwn installation last
night and noticed that I now have gcj, the “ahead-of-time compiler for the Java language”. Unable to resist, I coded up a “hello world” program.
$ ls
Test.java
$ uname -a
CYGWIN_NT-5.0 tiny 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin
$ cat Test.java
public class Test {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
$ gcj --main=Test -o Test Test.java
$ ls
Test.exe Test.java
$ ./Test
Hello, world!
Cool. Also, I belive gcj is availiable in the
MinGW 3.3.1 release candidate.
MingGW allows you to use the gcc tools on win32 “without cygwin.dll”.
Maybe someone needs to compile up a native version of Eclipse on win32.
