Hi, I need a gcj that compiles Java to native machine code for the
arm-v4t architecture.
I built binutils and the compiler for C and C++ allready, and that works
fine.
But once I try to compile the gcj, I get the following error:
i686-pc-linux-gnu-gcj -o ecjx -findirect-dispatch
--main=org.eclipse.jdt.internal.compiler.batch.GCCMain
../.././libjava/../ecj.jar
make[3]: i686-pc-linux-gnu-gcj: Command not found
make[3]: *** [ecjx] Error 127
make[3]: Leaving directory
`/home/bereziak/devel/abr/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.3.0-RC-20080222/arm-v4t-linux-gnueabi/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/bereziak/devel/abr/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.3.0-RC-20080222/arm-v4t-linux-gnueabi/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory
`/home/bereziak/devel/abr/opt/OSELAS.Toolchain-1.1.0/arm-v4t-linux-gnueabi/gcc-4.3.0-RC-20080222'
make: *** [all] Error 2
Compiling fails, because the compiler doesn not exist. Hmm, I configured
without the --host= option, since I'm making an normal cross compiler,
not a Canadian one. As far as I can tell, the gcj that should be used,
is host-i686-pc-linux/gcc/gcj (in the directory of gcc, where I'm
running 'make').
I can't really see, why make is using the compiler not from the explicit
directory. Since I don't have specified a --host, it should take the un
named one, as far as I understand this.
Could anyone give some help on this?