delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/25/12:30:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41A61677.1090402@familiehaase.de>
Date: Thu, 25 Nov 2004 18:29:27 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, java AT gcc DOT gnu DOT org
Subject: gcj-3.4.2 on Cygwin not working
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019