Solved

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

Posted on 2014-12-24
5
365 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
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 61

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 61

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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now