From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28529 invoked by alias); 8 Aug 2014 09:36:10 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 28517 invoked by uid 89); 8 Aug 2014 09:36:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 Aug 2014 09:36:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s789a4jX015600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 8 Aug 2014 05:36:04 -0400 Received: from zebedee.pink (ovpn-113-51.phx2.redhat.com [10.3.113.51]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s789a0oP003425; Fri, 8 Aug 2014 05:36:01 -0400 Message-ID: <53E49A00.3070609@redhat.com> Date: Fri, 08 Aug 2014 09:36:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: kgy , GCJ Subject: Re: gcj v4.8.3 on Cygwin References: <1BDD788063F1403483A4E252623AC07C@P5LD2Deluxe> In-Reply-To: <1BDD788063F1403483A4E252623AC07C@P5LD2Deluxe> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00001.txt.bz2 On 08/08/14 10:34, kgy wrote: > my problem is that : I like compile/link jar files into native exe for > Windows with the nex command line: > > gcj -fjni --main=com.all.alldio.dlr.main.StarterClass ./Jars/sndsep.jar > ./Jars/alldioutil.jar ./Jars/alldio_d2014_moreAM.jar -o diktalo.exe > > but the gcj return an Segmentation fault message. I do not understand that > why, because the next command line generates the required exe file > > gcj --main=com.all.onins.oi.OnlineInputStub ./Jars/sndsep.jar ./Jars/sns.jar > ./Jars/smws.jar ./Jars/onins.jar -o onins.exe You're in an awkward situation. I know gcj, but I don't know Cygwin. Clearly it's a bug, but you're going to need a Cygwin expert to debug it. Sorry, Andrew.