This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ verification error


Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>>>>>>             
>
> Andrew>  14: ldc_w <Class prism.Prism>
>
> Andrew> This needs Java 1.5.  The gcj version you have is not
> Andrew> compatible.  gcj 4.3 will be.
>
> FWIW the 'ldc class' fix will appear in 4.2 as well.
> But other 1.5 uses might still mean he needs 4.3.
>
> Tom
>
>   
So actually i was in the lucky case to have java 1.4 code only.
Thank you all very much for pointing out the problem. Finally
i just had to add -target 1.4 -source 1.4 to the javac command
in my makefile and everything compiles fine now.

Thanks again for the quick solution of this problem
Hans


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]