Re: gcj v4.8.3 on Cygwin

Andrew Haley <[email protected]> Fri, 08 Aug 2014 10:36:00 +0100
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.