User forums > General (but related to Code::Blocks)
General questions
johne53:
Hi there. Pretty soon I'll be starting a project that I need to compile for Linux. I don't have any real experience with Linux although I've been programming for Windows for over 10 years. I'm looking for an IDE that will give me similar functionality to MS Visual Studio and Code::Blocks is one of the products that's been mentioned to me. I just wondered about the following things:-
1) Will Code::Blocks allow me to do source level debugging of C++ apps (i.e. setting break points and stepping through the source code, line-by-line) ?
2) Does it have its own built-in compiler or does it use an external utility, such as 'Make' ?
3) Is it compatible with Scons? (Scons is an enhanced form of Make)
4) Does it have syntax highlighting - either using a built-in editor or via an external editor?
Thanks,
John
raph:
Hi,
welcome to the forums
--- Quote from: johne53 on April 20, 2007, 11:55:52 pm ---1) Will Code::Blocks allow me to do source level debugging of C++ apps (i.e. setting break points and stepping through the source code, line-by-line) ?
--- End quote ---
Yes
--- Quote from: johne53 on April 20, 2007, 11:55:52 pm ---2) Does it have its own built-in compiler or does it use an external utility, such as 'Make' ?
--- End quote ---
It does not have any built-in compiler, since it is an ide.
Codeblocks does support a lot of different compilers. So you could e.g. write your applications with cb and compile them with microsofts compiler (visual C++).
You don't need Makefiles, since cb will know which commands to execute to compile your programs but you surely can use your own external application/script.
--- Quote from: johne53 on April 20, 2007, 11:55:52 pm ---3) Is it compatible with Scons? (Scons is an enhanced form of Make)
--- End quote ---
Yes, you can write a scons script manually and let cb execute it.
--- Quote from: johne53 on April 20, 2007, 11:55:52 pm ---4) Does it have syntax highlighting - either using a built-in editor or via an external editor?
--- End quote ---
Yes, just have a look at the screenshots.
Regards
raph
johne53:
Thanks Raph - this sounds like it's exactly what I need. Just out of interest.... is this the same Code::Blocks product that can be found here:-
http://developer.berlios.de/project/showfiles.php?group_id=5358 ?
Don't be surprised if you can't get onto the Berlios web site. I've found it to be massively unreliable.
johne53:
Because I'm not too familiar with Linux yet, I might install the Windows version until I become familiar with Code::Blocks. I use MFC a lot - so should I choose the version with MINGW compiler or the version with no compiler? (in fact, is there even support for MFC?)
raph:
--- Quote from: johne53 on April 22, 2007, 04:22:48 pm ---Because I'm not too familiar with Linux yet, I might install the Windows version until I become familiar with Code::Blocks. I use MFC a lot - so should I choose the version with MINGW compiler or the version with no compiler? (in fact, is there even support for MFC?)
--- End quote ---
It is highly recommended to not use version RC2 (its too old), but to use a current nightly version.
Grab a nightly here and migw, the win32 port of gcc, here.
Sorry, you won't be able to use mfc with mingw, since it is a microsoft product for sale (anyway, afaik it hasn't been improved for some time in favor of .net now).
I was using MFC, too and I recommend you to try out the wxWidgets framework.
It should be very easy for you, since wxWidgets code style is very similar to mfcs one (see this article: http://www.codeproject.com/library/wxwidgets.asp).
wxWidgets also has the advantage, that it is OpenSource, cross platform, and it looks native on each platform.
Navigation
[0] Message Index
[#] Next page
Go to full version