Solved

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

Posted on 2014-12-24
5
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

751 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