Solved

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

Posted on 2014-12-24
5
351 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
Comment Utility
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
Comment Utility
i686 is your target platform or your build platform?
yum/apt/what distribution?
0
 

Author Comment

by:zliminator
Comment Utility
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
Comment Utility
So you are missing out GCJ - a gnu java compiler

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

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

763 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

9 Experts available now in Live!

Get 1:1 Help Now