problem with GCJ while running java code
Andrew Haley
aph@redhat.com
Mon Apr 14 09:16:00 GMT 2008
Cesc wrote:
>
>
> 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'
Works for me. Maybe you have an old version of as? What does
as -version?
say?
What does
arm-linux-gnueabi-gcj -verbose -save-temps -oecj1 --main=org.eclipse.jdt.internal.compiler.batch.GCCMain ecj.jar
say?
Andrew.
More information about the Java
mailing list