LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-20-2005, 10:13 AM   #1
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Rep: Reputation: 30
question about g++


Hi!
I've posted this question on Software forum but I don't know which forum is better for this question.
I have Mandrake 10.1
Do I have g++ or c++ if I have:
gcc2.96-cpp-2.96-0.83mdk
gcc-3.4.1-3mdk
gcc-cpp-3.4.1-3mdk
 
Old 09-20-2005, 10:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
gcc-cpp will provide g++, gcc will provide gcc. there is no compiler actually called "c++", or at least not in common use, for c use gcc for c++ use g++
 
Old 09-20-2005, 10:28 AM   #3
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Original Poster
Rep: Reputation: 30
So I have g++ and c++. I ask because (I posted it before) I try to compile newest version of Kopete and when I './configure' it among others such lines
show up:

checking for g++... no
checking for c++... no

I can add whole printout of it If you want (I did it before in previous post about it)

Last edited by mac1234mac; 09-20-2005 at 10:30 AM.
 
Old 09-20-2005, 12:33 PM   #4
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
gcc-cpp provides the C preprocessor, not the C++ compiler (although the abbreviation might suggest it, and sometimes C++ source files have the extension .cpp).
 
Old 09-21-2005, 09:10 AM   #5
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Original Poster
Rep: Reputation: 30
So what should I do to install C++ compiler?. Is it among rpm packages provided by Mandrake 10.1 Community version?.

Last edited by mac1234mac; 09-21-2005 at 09:25 AM.
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 03:16 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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