ecjx is a java program used as part of the gcj compilation process. Because it
is written in java and runs on the host, it needs a host version of gcj to
build it.
Here is the error I am getting:
make[3]: *** [ecjx] Error 127
make[3]: Leaving directory
`/home/daney/gccsvn/mipsel-trunk/mipsel-linux/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/daney/gccsvn/mipsel-trunk/mipsel-linux/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/daney/gccsvn/mipsel-trunk'
make: *** [all] Error 2
There seem to be two ways to fix this:
1) In a cross build, build a complete gcc/g++/gcj in build-i686-pc-linux-gnu
along with fixincldes and libiberty.
2) Have configure check for a good version of gcj that is already installed and
use that
--
Summary: Cross build fails because native gcj needed to build
ecjx
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: daney at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mipsel-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30591