gcj-3.4.2 on Cygwin not working
Hi, 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,);' hello_j.java $ echo '}' hello_j.java $ echo '}' hello_j.java $ /usr/bin/gcj --main=hello_j hello_j.java -o hello_j $ ./hello_j Signal 11 $ gdb hello_j.exe GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i686-pc-cygwin... (gdb) run Starting program: /gcc/hello_j.exe Program received signal SIGSEGV, Segmentation fault. 0x77e83c00 in RpcRaiseException () from /c/WINDOWS/system32/rpcrt4.dll (gdb) bt #0 0x77e83c00 in RpcRaiseException () from /c/WINDOWS/system32/rpcrt4.dll #1 0x76ee2d78 in DnsWriteReverseNameStringForIpAddress () (gdb) Gerrit -- =^..^= -- 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/
Re: gcj-3.4.2 on Cygwin not working
At 09:29 AM 11/25/2004, Gerrit P. Haase wrote: Hi, 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,);' hello_j.java $ 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 -- 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/
Re: gcj-3.4.2 on Cygwin not working
Am Donnerstag, 25. November 2004 19:16 schrieb Tim Prince: At 09:29 AM 11/25/2004, Gerrit P. Haase wrote: Hi, 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,);' hello_j.java $ 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. The intent is there, we just have no people actively working on it. Michael -- Homepage: http://www.worldforge.org/ -- 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/
Re: gcj-3.4.2 on Cygwin not working
Tim Prince wrote: At 09:29 AM 11/25/2004, Gerrit P. Haase wrote: Hi, 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,);' hello_j.java $ 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. Huh? I have had no problems building gcj. At least this hello-world example works fine with 3.3.3, why shouldn't it work anymore with 3.4.x? Gerrit -- =^..^= -- 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/
Re: gcj-3.4.2 on Cygwin not working
Gerrit P. Haase wrote: Tim Prince wrote: At 09:29 AM 11/25/2004, Gerrit P. Haase wrote: Hi, 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,);' hello_j.java $ 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. Huh? I have had no problems building gcj. At least this hello-world example works fine with 3.3.3, why shouldn't it work anymore with 3.4.x? BTW, with 3.4.1 it works with MinGW as well: $ gcj -mno-cygwin --main=hello_j hello_j.java -o hello_j $ ./hello_j Just another Java hacker, Gerrit -- =^..^= -- 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/