Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 559
  • Last Modified:

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.
0
zliminator
Asked:
zliminator
  • 3
1 Solution
 
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:
So you are missing out GCJ - a gnu java compiler

$ sudo apt-get install gcj-jdk
0
 
gheistCommented:
also on ubuntu and debian:
apt-get install command-not-found
cnf i686-pc-linux-gnu-gcj
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now