Re: problem with GCJ while running java code

Cesc <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>


Andrew John Hughes wrote:
> 
> 
> download_ecj will obtain the required ecj JAR file.  ecj1 is a script
> or binary that executes the GCCMain class in this  First check that
> there isn't one in your GCJ build, but not on your path.  If you can't
> find one, a script called ecj1 containing:
> 
> #!/bin/sh
> 
> gij --classpath <path to ecj.jar> \
>    org.eclipse.jdt.internal.compiler.batch.GCCMain \
>    ${1+"$@"}
> 
> or
> 
> gcj -oecj1 --main=org.eclipse.jdt.internal.compiler.batch.GCCMain ecj.jar
> 
> 

Thank you very much Andrew, I really appreciate your help.

I did ./arm-linux-gnueabi-gcj -oecj1
--main=org.eclipse.jdt.internal.compiler.batch.GCCMain ecj.jar

but now I'm getting this error:

as: unrecognized option `-meabi=4'

Francesco


-- 
View this message in context: http://www.nabble.com/problem-with-GCJ-while-running-java-code-tp15455624p16674101.html
Sent from the gcc - java mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.