Linux newb here...

bignateyk

Lifer
Apr 22, 2002
11,288
7
0
I have a machine with redhat and gnome on it. I have always done my C/C++ programming in visual studio on windows machines.

What is the best/most widely used C/C++ gui type compiler/development environment for linux/gnome?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Eclipse is probably one of the best all in one IDEs available, but it's pretty huge and was designed for Java. I think most C developers tend to stick with a text editor they're comfortable with (i.e. vim or emacs) and compile with whatever build system they're comfortable with (i.e. make, ant, etc) and debug with things like gdb on the command-line. Essentially their IDE is a screen full of terminal windows.
 

Kirby

Lifer
Apr 10, 2006
12,028
2
0
I haven't done much C/C++ dev in either Eclipse or Netbeans, but so far I prefer Netbeans.
 

joetekubi

Member
Nov 6, 2009
176
0
71
I have done a lot of C++ on Linux, and the best env for me is using QT libs with QtCreator IDE. Second best is Kate editor and command line compiles.
 

irishScott

Lifer
Oct 10, 2006
21,562
3
0
Eclipse is probably one of the best all in one IDEs available, but it's pretty huge and was designed for Java. I think most C developers tend to stick with a text editor they're comfortable with (i.e. vim or emacs) and compile with whatever build system they're comfortable with (i.e. make, ant, etc) and debug with things like gdb on the command-line. Essentially their IDE is a screen full of terminal windows.

Pretty much this, but it's more a matter of personal preference. Eclipse works fine for C/C++ IMO, and terminal tools for Java, but my Java programming classes used eclipse and my C/C++ programming classes used terminal/command line tools. So I stuck with that configuration for familiarity.

OP: Since you're coming from windows I would recommend eclipse. Less of a learning curve and feature packed, so it should set you up nicely. From there you can foray into the world of obscure vim keyboard commands and config file syntax if you wish. :)
 
Last edited:

hooflung

Golden Member
Dec 31, 2004
1,190
1
0
I think Eclipse 3.7 is pretty fantastic. Granted, I do like to run different versions (read that as configurations) in separate VMs. But the C++ tool is pretty slick and they've done a lot to making the UX as streamlined as possible.

Speed wise I think it's very close to Netbeans 7 now, at least on higher end hardware.
 

buckjrdley

Member
Feb 28, 2011
35
0
0
Eclipse is great. I love it for Java programming. For C/C++ I like to use Kate text editor and compile via command line; however, I have used Code::Blocks before and it works pretty well as an editor/compiler combo. I have found a lot of problems with Code::Blocks as far as linking (I get a lot of compiling issues). Everything usually links fine when I use a makefile so I tend to stay away except for the occasional edit.

EDIT: Sorry, wasn't paying attention. You might not want to try out code::blocks on Red Hat as the installation is far from straight forward for someone new to linux. If you still want to give it a go:
http://wiki.codeblocks.org/index.ph...Blocks_from_source_on_RPM_based_distributions
 
Last edited: