LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-16-2005, 03:40 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
cannot find cc


Hi... I am trying to compile the binutils package for my lfs system (I think that this is the first step)... The binutils package returns the error "cannot find cc compiler."
I have noticed that the command cc does not exist in the system (Fedora 2 Core).. I have tried to find and install it but i can't locate the package that contains the cc compiler

But still i have installed the cpp .. Should i create a link from the cpp to cc so to start working with the binutils package or not?
Thx a lot
 
Old 01-16-2005, 04:02 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
do you have gcc?

cc is a symlink for gcc.

cpp is the c pre processor ( the one that does text substitutions)

and cc is the c compiler ( the one that actually does the compiling).

So if you end up having gcc in say /usr/bin do the following:

Code:
ln -s /usr/bin/gcc /usr/bin/cc
and that will take care of your problem. If you execute gcc in an terminal and it tells you command not found then you need to install the development packages for your distro(which you should have cause cpp is from the gcc package).

Last edited by __J; 01-16-2005 at 04:03 AM.
 
Old 01-16-2005, 04:02 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
cc is usually a symlink to gcc

gcc is the RPM you need to install
I guess fedora does not install it by default...........
 
  


Reply



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
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
I can find the camera but can't find the images? sneckert Linux - Newbie 2 02-02-2005 08:51 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 07:13 PM
linux 'find' to find text files subu_s Programming 2 12-02-2004 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration