Re: Gnu-Classpath on StrongARM

2007-10-19 Thread Andrew Haley
Vladimir Nikolov writes:
  Hello Andrew,
  thank you for your reply.
  
  Andrew John Hughes schrieb:
   But, 
   unfortunatelly I get the following error message:
  
   /usr/bin/ecj -1.5
   -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast
   -proceedOnError -bootclasspath '' -classpath
   ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngD
   atatype:../external/jsr166:.:: -d . @classes
   Exception in thread main java.lang.ExceptionInInitializerError
  No stacktrace available
   Caused by: java.lang.NullPointerException
  No stacktrace available
  
   
  
   There's not much we can do with so little information.  Does /usr/bin/ecj 
   compile a Java file okay? e.g. can you compile a simple HelloWorld app 
   with 
   it?
 
  No, it does not! Even a simple ecj --version call results in the 
  following error:
  Exception in thread main java.lang.ExceptionInInitializerError
 No stacktrace available
  Caused by: java.lang.NullPointerException
 No stacktrace available
  
  Whats wrong with ecj? Is it not supported for ARMs?
  Do you know any other compiler for ARM which I could use instead of ecj?

I suspect that you have an old version of gcj.  gcj has only fairly
recently been working well enough on ARM to support ecj.

Andrew.



Re: Gnu-Classpath on StrongARM

2007-10-19 Thread Vladimir Nikolov

Hello Andrew,
thank you for your reply.

Andrew John Hughes schrieb:
But, 
unfortunatelly I get the following error message:


/usr/bin/ecj -1.5
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast
-proceedOnError -bootclasspath '' -classpath
../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngD
atatype:../external/jsr166:.:: -d . @classes
Exception in thread main java.lang.ExceptionInInitializerError
   No stacktrace available
Caused by: java.lang.NullPointerException
   No stacktrace available




There's not much we can do with so little information.  Does /usr/bin/ecj 
compile a Java file okay? e.g. can you compile a simple HelloWorld app with 
it?
  
No, it does not! Even a simple ecj --version call results in the 
following error:

Exception in thread main java.lang.ExceptionInInitializerError
  No stacktrace available
Caused by: java.lang.NullPointerException
  No stacktrace available

Whats wrong with ecj? Is it not supported for ARMs?
Do you know any other compiler for ARM which I could use instead of ecj?

Vladimir
begin:vcard
fn:Vladimir Nikolov
n:Nikolov;Vladimir
adr;quoted-printable:;;Alte Str. 45;Rudolstadt;Th=C3=BCringen;07407;Deutschland
email;internet:[EMAIL PROTECTED]
tel;home:+49 3672 / 415931
tel;cell:+49 179 / 7455069
version:2.1
end:vcard



Re: Gnu-Classpath on StrongARM

2007-10-19 Thread Robert Schuster
Hi,
 Whats wrong with ecj? Is it not supported for ARMs?
 Do you know any other compiler for ARM which I could use instead of ecj?
ecj is written in Java. There is no ARM specific code in it. You should
check your VM instead.

Regards
Robert



signature.asc
Description: OpenPGP digital signature


Re: Gnu-Classpath on StrongARM

2007-10-18 Thread Andrew John Hughes
On Thursday 18 October 2007 12:41:21 Vladimir Nikolov wrote:
 Hello,

 I would like to install the actual GNU-Classpath 0.96.1 on a StrongARM
 machine, running with Debian. I hope to be able then to use it without
 problems together with the JamVM 1.4.5, and also to make use of new
 features like annotations and generics.
 First of all, where can I download the correct 0.96.1 package? The
 download link on the official GNU CP page seems to be broken: after a
 klick on the download link, I get a 550 Failed to change directory alert.

We're having a problem getting the official upload made at the moment.  For 
the time being, you can obtain a copy from http://builder.classpath.org/dist
Sorry for the inconvienence.

 Similarly I've tried to install the 0.95 version on the ARM machine,
 since it seems also to support 1.5 generics and annotations.

It does; 0.96 is mainly a bug fix release.

 But, 
 unfortunatelly I get the following error message:

 /usr/bin/ecj -1.5
 -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast
 -proceedOnError -bootclasspath '' -classpath
 ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngD
atatype:../external/jsr166:.:: -d . @classes
 Exception in thread main java.lang.ExceptionInInitializerError
No stacktrace available
 Caused by: java.lang.NullPointerException
No stacktrace available


There's not much we can do with so little information.  Does /usr/bin/ecj 
compile a Java file okay? e.g. can you compile a simple HelloWorld app with 
it?

 Does anyone have an idea what goes wrong here?
 Thank you for any help in advance!

 Vladimir

-- 
Andrew :)