LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2007, 03:30 PM   #1
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
KDevelop missing compiler?


hi all im currently using FC6 and trying to learn a bit of
C++, but when i go to compile using the KDevelop build button it doesnt do anything, also when i try and compile from the treminal using cc <file.c> it says command not found, what am i missing please!!

regards mark
 
Old 03-29-2007, 03:35 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
/usr/bin/cc is supplied with the gcc package.
However for C++ programs, look for a "gcc-c++" package. It may be also be packaged as "g++" instead.

For C++ compiling you usually run the "g++" command if doing it from the terminal and for C source programs, the "gcc" command.

The gcc and g++ programs are the macro front ends.

Last edited by jschiwal; 03-29-2007 at 03:38 PM.
 
Old 03-29-2007, 04:48 PM   #3
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
thanks for that, will try tomoro
mark
 
  


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
C compiler missing? ( Suse 10.0) blackspade Linux - Software 9 02-01-2006 03:47 AM
Intel Fortran Compiler under KDevelop Ralph Kahel Linux - Software 1 07-21-2005 03:57 PM
Missing a C compiler, do I need one? lin00b Linux - Newbie 2 09-23-2004 04:34 AM
Kdevelop compiler Error in aclocal.m4 lsropia Linux - Software 3 08-04-2003 09:43 AM
How is KDevelop for a compiler? Ekim Gram Linux - Software 2 05-24-2003 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration