gcj-3.4.2 on Cygwin not working

Tim Prince tprince@computer.org
Thu Nov 25 18:29:00 GMT 2004

At 09:29 AM 11/25/2004, Gerrit P. Haase wrote:

>just finished the 3.4.2 cygwin-special build, all compiles ok, however
>gcj compiled binaries are not working, any hints appreciated:
>$ echo 'public class hello_j {' > hello_j.java
>$ echo 'public static void main(String[] args) {' >> hello_j.java
>$ echo '        System.out.println("Just another Java hacker,");' >> 
>$ echo '        }' >> hello_j.java
>$ echo '}' >> hello_j.java
>$ /usr/bin/gcj --main=hello_j hello_j.java -o hello_j
>$ ./hello_j
>Signal 11

Were you able to avoid build failures, due to overflow of the argument 
lines passed to ld or ar?  I had the impression their was no intent to 
support gcj on any Windows platform any longer.

Tim Prince 

More information about the Java mailing list