Linux IDE for C++

M

Martin Wells

I recently installed the latest version of Linux Ubuntu on my machine
and I don't have an IDE for programming in C++. Can anyone please make
a suggestion for one? I used to use Bloodshed when I had Windows but
it seems that Bloodshed for Linux isn't free.

I don't use features such as syntax highlighting or anything, all I
want is something simple that will compile the code handily and
quickly. Also I want to be able to use libraries like wxWindows and
stuff on it so I can compile portable GUI applications.

And needless to say, I want it to work with a very-compliant C++
compiler, preferably g++.

Martin
 
K

Kai-Uwe Bux

Martin Wells wrote:

I recently installed the latest version of Linux Ubuntu on my machine
and I don't have an IDE for programming in C++. Can anyone please make
a suggestion for one?

FYI: particular IDEs and tool chains are not exactly on topic in this group.
In particular, once you decided on a particular IDE and should you have
questions about how to do X in that IDE, you will be better off in a
different forum.
I used to use Bloodshed when I had Windows but
it seems that Bloodshed for Linux isn't free.

Huh? Bloodshed for Linux is free (actually in both meanings of the word: it
is GPL and free of charge; you can just download and install it).

I don't use features such as syntax highlighting or anything, all I
want is something simple that will compile the code handily and
quickly. Also I want to be able to use libraries like wxWindows and
stuff on it so I can compile portable GUI applications.

I use g++ from the command line. Compiles just fine. If you have many
libraries that the linker needs to be told about, a one-line script or a
bash-alias will do the trick.

[snip]


Best

Kai-Uwe Bux
 
B

BobR

Martin Wells wrote in message...
I recently installed the latest version of Linux Ubuntu on my machine
and I don't have an IDE for programming in C++. Can anyone please make
a suggestion for one? I used to use Bloodshed when I had Windows but
it seems that Bloodshed for Linux isn't free.

I don't use features such as syntax highlighting or anything, all I
want is something simple that will compile the code handily and
quickly. Also I want to be able to use libraries like wxWindows and
stuff on it so I can compile portable GUI applications.

And needless to say, I want it to work with a very-compliant C++
compiler, preferably g++.
Martin

I use MinGW Studio.
But the editor is not something I like, so for that I use Kate (which has a
'project' feature, and highlighting (oooo, the colors!) for C++.).

MinGWStudio http://www.parinyasoft.com/
[ the GNU/Linux version is a little hard to spot, but, it's there.]

You might check out Code-Blocks:
Code::Blocks http://www.codeblocks.org/


Kdevelop has more features than you can turn off in a weeks time!
Look through your packages in your distribution for more IDEs.
Also go to www.gnu.org, and look in the 'development' sections.


Note: IDE 'discussion' is off-topic in this NG.
FAQ http://www.parashift.com/c++-faq-lite
 
K

Kai-Uwe Bux

Kai-Uwe Bux said:
Martin Wells wrote:



FYI: particular IDEs and tool chains are not exactly on topic in this
group. In particular, once you decided on a particular IDE and should you
have questions about how to do X in that IDE, you will be better off in a
different forum.


Huh? Bloodshed for Linux is free (actually in both meanings of the word:
it is GPL and free of charge; you can just download and install it).

Oops, it appears that I was day-dreaming. A linux port is nowhere to be
found (well, there is one on source-forge from 2001). Anyway, I don't think
it's a matter of free vs. non-free; but that is little consolation.


Sorry for the noise

Kai-Uwe Bux
 
M

Martin Wells

Kai-Uwe Bux:
Huh? Bloodshed for Linux is free (actually in both meanings of the word: it
is GPL and free of charge; you can just download and install it).

You can't download it form the site, you have to buy the CD off them
(something like USD 50).

Martin
 
C

Christopher

I recently installed the latest version of Linux Ubuntu on my machine
and I don't have an IDE for programming in C++. Can anyone please make
a suggestion for one? I used to use Bloodshed when I had Windows but
it seems that Bloodshed for Linux isn't free.

I don't use features such as syntax highlighting or anything, all I
want is something simple that will compile the code handily and
quickly. Also I want to be able to use libraries like wxWindows and
stuff on it so I can compile portable GUI applications.

And needless to say, I want it to work with a very-compliant C++
compiler, preferably g++.

Martin


Eclipse with the CDT plugin has come a long way. I use it at work,
because I am forced to use linux here. I'd rather be without a job
than use VI like everyone else :p You can download the IDE with the
plugin in one package from thier site. If you have questions about it,
they will be off topic here, but Eclipse has its own newsgroup also
available from their site. It is very close to VS if that is what you
are used to and even has some advantages over VS.
 
D

DJ

I don't use features such as syntax highlighting or anything, all I
want is something simple that will compile the code handily and
quickly. Also I want to be able to use libraries like wxWindows and
stuff on it so I can compile portable GUI applications.

emacs + makefile + gcc and you done. Vi will do as well.
 
J

James Kanze

I use g++ from the command line. Compiles just fine.

Only for toy programs. For any real applications, you'll need a
make file.

Of course, the same thing is true for all of the IDE's I've
seen; the makefile they generate by default is rarely if ever
sufficient, so you end up having to learn make and write your
own anyway.
If you have many libraries that the linker needs to be told
about, a one-line script or a bash-alias will do the trick.

Ditto for the necessary additional flags that you'll definitely
want. (As with any compiler, you'll need a lot of options to
tune g++ to your needs.)
 
K

Kai-Uwe Bux

James said:
Only for toy programs. For any real applications, you'll need a
make file.

Your missing the context: The OP wrote:

... all I want is something simple that will compile the code handily and
quickly.

I took that as an indication that his code base allows for short compile
times.


Best

Kai-Uwe Bux
 
N

Nemanja Trifunovic

I recently installed the latest version of Linux Ubuntu on my machine
and I don't have an IDE for programming in C++. Can anyone please make
a suggestion for one?

Unless something has drastically changed in the last couple of years,
I strongly suggest not to waste any time with Linux IDEs, and use any
good editor + make + gdb.
 
C

Christopher Pisz

Nemanja Trifunovic said:
Unless something has drastically changed in the last couple of years,
I strongly suggest not to waste any time with Linux IDEs, and use any
good editor + make + gdb.

Out of curiosity, how many keystrokes is it going to take you to find the
definition of some variable you run across in the code, if it is not in the
current file you are editing, as opposed to one right click of the mouse?
How many keystrokes does it take to close the current window and then open
that file, then read it, close it, open the one you were working on, and
continue? I think at least XEmacs has tabs, but still. Do you know if that
variable is an enum, a class, or a standard type by looking at its color?
etc. etc. To each his own I guess. I'll never understand why Linux people
seem to prefer a text editor to an IDE. An IDE saves you time and time is
money, or so they say.
 
S

Sherman Pendley

Christopher Pisz said:
Out of curiosity, how many keystrokes is it going to take you

If input speed is the bottleneck, you're not spending nearly enough time
thinking about your code. This is programming we're talking about here,
not Quake.

sherm--
 
J

James Kanze

[...[
If input speed is the bottleneck, you're not spending nearly
enough time thinking about your code.

Input speed can play an important role; you want to have a
written trace of what you were thinking. Slow input slows down
your thinking, if your doing this.

For the highest input speed, of course, you should be able to
keep your fingers close to the home position of the keyboard.
You can easily type about 10 characters in the time it takes to
move your hand to the mouse and back. But most of the time,
it's irrelevant; when input speed is important, you are
"inputting", i.e. typing text, which you don't do with the mouse
anyway. (At least with a language using a Latin alphabet---I'm
not sure how things work if you're inputting Chinese, except
that I'm pretty sure that they don't have a keyboard with some
60 thousand keys, one per "letter".)
This is programming we're talking about here,
not Quake.

Still, you don't want your thoughts to run too far ahead of what
you've written.
 
N

Nemanja Trifunovic

Out of curiosity, how many keystrokes is it going to take you to find the
definition of some variable you run across in the code, if it is not in the
current file you are editing, as opposed to one right click of the mouse?
How many keystrokes does it take to close the current window and then open
that file, then read it, close it, open the one you were working on, and
continue? I think at least XEmacs has tabs, but still. Do you know if that
variable is an enum, a class, or a standard type by looking at its color?
etc. etc. To each his own I guess. I'll never understand why Linux people
seem to prefer a text editor to an IDE. An IDE saves you time and time is
money, or so they say.

vim has everyting you mentioned - the only thing I miss is the
integrated debugger.

But I am not against a *good* IDE. On Windows, I use Visual Studio and
like it a lot. However, the last time I checked, Linux didn't have one
and we tried KDevelop, eclipse, MingW Studio (maybe even anjuta and
Code::Blocks - I forgot). Again, maybe it changed in the last 2 years.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top