Solved

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

Posted on 2014-12-24
5
384 Views
Last Modified: 2014-12-29
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
Comment
Question by:zliminator
  • 3
5 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40517866
Did you install gnu java? gcj is the Gnu Compiler for Java (http://gcc.gnu.org/java/).

Try installing:

yum install gcc-java
0
 
LVL 62

Expert Comment

by:gheist
ID: 40518381
i686 is your target platform or your build platform?
yum/apt/what distribution?
0
 

Author Comment

by:zliminator
ID: 40519247
ARM is the target and I'm building on 32-bit Ubuntu Linux. I use apt-get to install.
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40519414
So you are missing out GCJ - a gnu java compiler

$ sudo apt-get install gcj-jdk
0
 
LVL 62

Expert Comment

by:gheist
ID: 40521980
also on ubuntu and debian:
apt-get install command-not-found
cnf i686-pc-linux-gnu-gcj
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question