crosstool-ng can't find i686-pc-linux-gnu-gcj

I'm making a cross compiler using crosstool-NG and I've got as far as running configure, make, make install, ct-ng <my preconfigured toolchain> then when I try to do the ct-ng buid
I get an error saying:
Missing: 'i686-pc-linux-gnu-gcj' or 'gcj' : either needed!

what is i686-pc-linux-gnu-gcj? A library? A compiler? I can't find anything other that a couple vague references to it buried in some file listing doing a google search.
zliminatorAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
So you are missing out GCJ - a gnu java compiler

$ sudo apt-get install gcj-jdk
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Did you install gnu java? gcj is the Gnu Compiler for Java (http://gcc.gnu.org/java/).

Try installing:

yum install gcc-java
0
 
gheistCommented:
i686 is your target platform or your build platform?
yum/apt/what distribution?
0
 
zliminatorAuthor Commented:
ARM is the target and I'm building on 32-bit Ubuntu Linux. I use apt-get to install.
0
 
gheistCommented:
also on ubuntu and debian:
apt-get install command-not-found
cnf i686-pc-linux-gnu-gcj
0
All Courses

From novice to tech pro — start learning today.