Mail Archives: cygwin/2005/12/14/19:16:21
--------------020100020505020909010403
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerrit,
Either I'm missing something, or gij just plain doesn't work:
gcc-java-3.4.4-1
jikes-1.22-1 (Cygwin Ports)
Sun JDK 1.5.0_06
JIKESPATH either to JDK rt.jar or to libgcj-3.4.4.jar
CLASSPATH either empty or to libgcj-3.4.4.jar
$ javac HelloWorld.java && java HelloWorld
Hello, World!
$ jikes HelloWorld.java && java HelloWorld
Hello, World!
$ gcj -C HelloWorld.java && java HelloWorld
Hello, World!
$ gcj --main=HelloWorld -o HelloWorld.exe HelloWorld.java &&
./HelloWorld.exe
Hello, World!
$ javac HelloWorld.java && gij HelloWorld
Segmentation fault (core dumped)
$ jikes HelloWorld.java && gij HelloWorld
Segmentation fault (core dumped)
$ gcj -C HelloWorld.java && gij HelloWorld
Segmentation fault (core dumped)
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDoLXJpiWmPGlmQSMRAjuyAKDG9g2aMlAT6uu2d8YBVQxODpFvWACgpBoG
buZK5G0Db4O7cxrjKVWMSjM=
=bsQg
-----END PGP SIGNATURE-----
--------------020100020505020909010403
Content-Type: text/plain;
name="HelloWorld.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="HelloWorld.java"
// This program prints the "Hello, World!" message to console.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
--------------020100020505020909010403
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------020100020505020909010403--
- Raw text -