Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-03-2005, 12:05 AM   #1
LQ Newbie
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Free C++ Compiler?

Hi everyone!
Im new to Linux, currently running Mandrake 10, and im interested in learning C++ programming but I dont know where to download a free compiler, or if Linux comes with one. Thanks for the info guys.
Old 11-03-2005, 12:14 AM   #2
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Old 11-03-2005, 12:28 AM   #3
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Originally posted by adz
To elaborate on this a bit, most Linux distros come with the GNU C++ compiler, G++. You can use this to compile your C++ code with this command:
g++ filename.cpp -o exe_file
If you type g++ and get no response, you need to install your distro's development packages.


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
Free C++ Compiler? BrutualTarget Programming 13 08-22-2004 04:04 PM
Free C/C++ Compiler for Windows? testforechozero Programming 6 08-19-2004 09:29 PM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 09:14 PM
free c/c++ compiler w/ directx/opengl js_530 Programming 9 07-27-2003 02:33 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 04:18 PM

All times are GMT -5. The time now is 05:57 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