Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-06-2004, 03:56 AM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Problem with 'cc' while building/installing gcc 3.4.0

I'm becoming more and more experienced with Linux everyday. However, I'm having trouble installing gcc 3.4.0. Following the online instructions, I ran srcdir/configure in the objdir, but I encounter an error that a 'cc' command couldn't run. The error mentions adding the CC line to my environment and pointing it to the 'cc' compiler (or other compiler). However, I don't have cc installed!

In fact, if I do whereis cc I simply get cc: on a new line--which I presume confirms that cc is not installed. When I do whereis gcc I get gcc: on a new line.

Can anyone tell me where/how to get cc installed, or how to build/install gcc 3.4.0 without it?

Old 05-06-2004, 04:18 AM   #2
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
cc is part of the gcc package if you want to build it from source you will have to install a packaged gcc first. There should be a gcc package on your distribution cd


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 08:19 PM
problem building and installing rpm from ndiswrapper source steveman2000 Linux - Newbie 5 10-23-2005 08:01 PM
Problem building Mozilla 1.7 with GCC 3.4.1 DocMarco Linux - Software 1 07-06-2004 11:53 AM
building gcc under cygwins Laplace Linux - General 0 11-12-2003 02:40 AM
Building GCC natesch Linux - Newbie 4 05-09-2002 01:38 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:00 AM.

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