Solved

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

Posted on 2014-12-24
5
407 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 38

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
App holding yum lock unable to update my rpm package 1 73
Change the background and font colors in Notepad++ 5 117
awk to variable in bash 2 76
BATCH to EXE Converter 2 40
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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 …

820 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