Solved

Problem in installing gnu gcc in Linux?

Posted on 2004-08-11
3
172 Views
Last Modified: 2010-04-22
First of all I untarred gcc-3.3.tar file in / directory.Then "CD gcc-3.3" and in this directory when I executed configure file using ./configure the following appeared...
      Configuring for a i686-pc-linux-gnuoldld host.
   Created "Makefile in /gcc-3.3 using "mt-frag"
   ./configure: line 8: cc: command not found
 ***The command 'cc -o conftest -g conftest.c' failed.
 ***You must set the environment variable to a working compiler.

So please what should I do? My linux OS is DamnSmallLinux.Only after this configure is succeeded I have to proceed with doing "make bootstrap" right?
0
Comment
Question by:gopikrish
[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 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 11778500
In order to be able to build a copy of Gcc you must have a working C compiler of the system where you'll do the build.  And from the configure output that's apparently not the case (cc -o conftest -g conftest.c' failed.). Your choices are to either find a pre-built Gcc that you can install, or build a copy of Gcc on some other Linux system and it the result onto your target system. The latter may require you to set up a chrooted enviornment for the build that matches the target environment.
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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 a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

695 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