473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Linux IDE for C++


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

Nov 3 '07 #1
16 3239
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
Nov 3 '07 #2

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
--
Bob R
POVrookie
Nov 3 '07 #3
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

Nov 3 '07 #4
Kai-Uwe Bux wrote:
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).
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
Nov 3 '07 #5
On Nov 3, 1:12 pm, Martin Wells <war...@eircom.netwrote:
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.

Nov 3 '07 #6
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.
Nov 3 '07 #7
Uno
www.ultimatepp.org
Nov 4 '07 #8
On Nov 3, 8:48 pm, Kai-Uwe Bux <jkherci...@gmx.netwrote:
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.)

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Nov 4 '07 #9
James Kanze wrote:
On Nov 3, 8:48 pm, Kai-Uwe Bux <jkherci...@gmx.netwrote:
>I use g++ from the command line. Compiles just fine.

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
Nov 4 '07 #10
On Nov 3, 1:12 pm, Martin Wells <war...@eircom.netwrote:
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.

Nov 5 '07 #11

"Nemanja Trifunovic" <nt*********@hotmail.comwrote in message
news:11*********************@v3g2000hsg.googlegrou ps.com...
On Nov 3, 1:12 pm, Martin Wells <war...@eircom.netwrote:
>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.
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.


Nov 5 '07 #12
"Christopher Pisz" <so*****@somewhere.netwrites:
"Nemanja Trifunovic" <nt*********@hotmail.comwrote in message
news:11*********************@v3g2000hsg.googlegrou ps.com...
>On Nov 3, 1:12 pm, Martin Wells <war...@eircom.netwrote:
>>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.

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--

--
WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Nov 5 '07 #13
On Nov 5, 10:21 am, Sherman Pendley <spamt...@dot-app.orgwrote:

[...[
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.

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Nov 5 '07 #14
I use kdevelop myself, it's quite awesome imo.

Nov 5 '07 #15
Christopher Pisz wrote:
Do you know if that variable is an enum, a class, or a standard type by looking at its color?
I prefer to go by smell.
An IDE saves you time and time is money, or so they say.
If you say so.
Nov 5 '07 #16
On Nov 5, 2:18 am, "Christopher Pisz" <some...@somewhere.netwrote:
>
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.

Nov 5 '07 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure...
0
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690...
6
by: gnu | last post by:
Rationale to use Linux ======================= - I can't afford paying for $199 for the license of an OS that's arguably better thank Linux for each of 10 computers I have. - I want to be...
21
by: Travis 'Bailo' Bickel | last post by:
Lately, I have been having a bear of a time trying to acquire a Linux driver for my S3/ProSavage chipset -- but that quest is now almost at an end as I have located a noble band of people who are...
1
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
5
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
1
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
1
Nepomuk
by: Nepomuk | last post by:
You might have heard about Linux, but you don't know what it is? Or you know a few things about it, but they terrify you? Well, then this article is for you. Don't be afraid - Everyone can use Linux!...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.