This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj v4.8.3 on Cygwin
- From: Andrew Haley <aph at redhat dot com>
- To: kgy <gykarsai at all dot hu>, GCJ <java at gcc dot gnu dot org>
- Date: Fri, 08 Aug 2014 10:36:00 +0100
- Subject: Re: gcj v4.8.3 on Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <1BDD788063F1403483A4E252623AC07C at P5LD2Deluxe>
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.