Linux compilers

Reply

Join Date: Dec 2004
Posts: 489
Reputation: Acidburn is an unknown quantity at this point 
Solved Threads: 5
Acidburn Acidburn is offline Offline
Posting Pro in Training

Linux compilers

 
0
  #1
Jan 24th, 2005
Hello,

Can anyone point me the direction of getting a linux verision that comes with a .cpp compiler? so you enter gcpp filename.cpp which compiles the code and runs it in a konsole?

I've got mandrake and Suse siting here....

Cheers
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 220
Reputation: frrossk is an unknown quantity at this point 
Solved Threads: 9
frrossk's Avatar
frrossk frrossk is offline Offline
Posting Whiz in Training

Re: Linux compilers

 
0
  #2
Jan 24th, 2005
Every linux distribution comes with gcc compiler.
For compiling with gcc at the command line, read http://www.faqs.org/docs/ldev/0130091154_81.htm
If you want an IDE, there is Kdevelop, also included in linux distributions.
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 1
Reputation: dermdaly is an unknown quantity at this point 
Solved Threads: 0
dermdaly dermdaly is offline Offline
Newbie Poster

Re: Linux compilers

 
0
  #3
Jan 24th, 2005
Originally Posted by Acidburn
Hello,

Can anyone point me the direction of getting a linux verision that comes with a .cpp compiler? so you enter gcpp filename.cpp which compiles the code and runs it in a konsole?

I've got mandrake and Suse siting here....

Cheers
Most linux distributions come with a c++ compiler. Its invoked as gcc (This is both a c and c++ compiler)

e.g. gcc myprog.cpp -o myprog
./myprog

G'luck
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,535
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Linux compilers

 
0
  #4
Jan 24th, 2005
>Can anyone point me the direction of getting a linux verision that comes with a .cpp compiler?
g++ comes standard with every Linux distro I know of.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 50
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Linux compilers

 
0
  #5
Jan 24th, 2005
Hello,

The question may be if you, or the person that setup linux on your computer, chose to install the C++ environment for you. The selections when setting up linux may be referred to as Development Libraries or Development Tools. You might need to go and add them to your linux environment.

Christian
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC