harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Migliore <enrico.migli...@fatti.com>
Subject Re: compiling JCHEVM with GCC/Cygwin
Date Thu, 16 Feb 2006 05:46:55 GMT
snowdosker wrote:

> Many thanks, Enrico and Archie.
>
> Finally I built JCHEVM.
>
> This two jcjavah.exe and cfdump.exe printout help text when started, 
> but jc.exe fail with message
> "The application failed to initialize properly (0xc0000005)".
> Any ideas what does it mean?
>
> I guess library linking problems. But have no ideas which one cause it.
>
> Thanks, Ivan
>
>
>
>
Hi Ivan,

 I got the same error two weeks ago :-)

To fix the problem, do the following things:

1)  open the following file:

       jc_invoke.c

2)   find the following declaration:

       static const struct poptOption jc_popt_options[] = {

3)  remove the following line:
       POPT_AUTOHELP

Afterwards, compile a HelloWorld.java class with any compiler,
and run: $jc HelloWorld

Enrico

Mime
View raw message