LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-08-2002, 06:24 PM   #1
natesch
Member
 
Registered: May 2002
Posts: 36

Rep: Reputation: 15
Talking Building GCC


OK~So I finally learned to untar and unzip and such so I could install mplayer. But unforunatly I do not have GCC apparently so I went and got it from the web site. I Unzipped and Untarred it and was going going to try to configure it but I get this message:

linux:~/gcc-3.0 # ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/gcc-3.0 using "mt-frag"
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

So I tried to go read the directions for building GCC but don't quite understand them! SO now what do I do! Thanx for all the help guys!
 
Old 05-08-2002, 09:13 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
A couple of suggestions

Follow this Howto

http://www.linuxdoc.org/HOWTO/GCC-HOWTO/


or check out the LFS manual, which exlpains step by step how to build a system which leads up to installing GCC
 
Old 05-08-2002, 09:52 PM   #3
natesch
Member
 
Registered: May 2002
Posts: 36

Original Poster
Rep: Reputation: 15
I tired followin instructions but gettin same error! what is the LFS manual? Thanx
 
Old 05-08-2002, 10:12 PM   #4
natesch
Member
 
Registered: May 2002
Posts: 36

Original Poster
Rep: Reputation: 15
I don't get this! What does this:

linux:~/gcc-3.0 # ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/gcc-3.0 using "mt-frag"
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Mean???? Am I missing something I need or do I need to set something? Please help! Thanx all!
 
Old 05-09-2002, 12:38 AM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
http://www.linuxfromscratch.org/view/3.3/

it has installing GCC in detail as well as everything else required to get to that point.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
building gcc slackware jakiel Linux - Newbie 5 01-30-2007 07:19 PM
Problem building Mozilla 1.7 with GCC 3.4.1 DocMarco Linux - Software 1 07-06-2004 10:53 AM
Building Gcc-core-3.3.1 Chapter 5 mullog Linux From Scratch 8 05-27-2004 12:49 PM
building LFS GCC question citrus Linux From Scratch 6 05-12-2004 08:36 AM
building gcc under cygwins Laplace Linux - General 0 11-12-2003 01:40 AM


All times are GMT -5. The time now is 09:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration