Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Linux compiler

I just switched to Linux Mint and am installing code::blocks
What is a good c++ compiler for linux?
If your using Linux then the choice is the GNU GCC compiler, I would also investigate NetBeans with the C/C++ plugin.

I use Linux with NetBeans + C/C++ plugins and find it hands down better than Code::Blocks.
(Aug 9, 2012 04:04 PM)g4143 Wrote:  If your using Linux then the choice is the GNU GCC compiler, I would also investigate NetBeans with the C/C++ plugin.

I use Linux with NetBeans + C/C++ plugins and find it hands down better than Code::Blocks.

Alright! Thanks again for your help.


Also here is a great guide for anyone wanting to install code::blocks-
http://dahoiv.net/programmering/cpp/how-...codeblocks
In my honest opinion clang > g++. 😁
(Aug 9, 2012 05:24 PM)shixhaxermod98 Wrote:  In my honest opinion clang > g++. 😁

Same here, g++ all the way with CDT in Eclipse.
GCC does the trick for me

Whenever you want to compile your source file, just type:
gcc myprojectname.cpp myfilename

and then you should have a nice executable sitting where the file was
to execute that in terminal, type:
./myfilename

bam!
linux should come with pre-installed gcc/g++.

type gcc or
which gcc to find out.

For editor, you may choose netbeans, eclipse, code blocks etc


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by mtepper2Jun 21, 2012 08:05 AM 3 85 Jun 21, 2012 08:05 AM
Last Post: Love2D
[C] by vincentbelkinMar 15, 2012 09:57 PM 5 144 Mar 15, 2012 09:57 PM
Last Post: vincentbelkin
[C] by SmellsGoodFeb 5, 2012 07:47 PM 3 83 Feb 5, 2012 07:47 PM
Last Post: SmellsGood