Re: problem with GCJ while running java code
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
Cesc wrote: > > Andrew Haley wrote: >> >> Ah, your gcc target and your as target don't match. arm-linux-gnueabi and >> arm-linux-uclibcgnueabi; this is bad. It's really important to configure >> binutils and gcc for the *same( target. >> >> Anyway, you should be able to get it to work by making sure your PATH is >> set >> correctly when builfing for ARM. >> >> Andrew. >> >> > > Hi, I recompiled gcc target as "arm-linux-uclibcgnueabi" > > Now when running (with correct as in PATH): > > ./arm-linux-uclibcgnueabi-gcj --verbose -save-temps -oecj1 > --main=org.eclipse.jdt.internal.compiler.batch.GCCMain ecj.jar and with correct ld in path? How come you have a binutils install directory with as but no ld, anyway? This is weird: > as -meabi=4 -o org.eclipse.jdt.internal.compiler.batch.GCCMainmain.o I wonder why it doesn't use arm-linux-uclibcgnueabi-ld. You did have arm-linux-uclibcgnueabi-ld in your path when you configured, did you? Andrew.