Code::Blocks

Code::Blocks is a free C/C++ Integrated Development Environment (IDE).

It may be downloaded from: http://www.codeblocks.org/

A number of compilers may be used with Code::Blocks.

MinGW is a good choice for the compiler.  The Code::Blocks website has a bundled installion  file that includes MinGW.

Note that MinGW stands for Minimalist GNU for Windows.

MinGW is a native software port of the GNU Compiler Collection (GCC) and GNU Binutils for use in the development of native Microsoft Windows applications.

* * *

If you need to run your executable code on a different PC or otherwise redistribute it, then make the following change in the Code::Blocks IDE.

Settings > Compiler > Linker Settings > Other linker options:

Type the following in the box

-static-libgcc
-static-libstdc++

Click OK

* * *

The Code::Blocks IDE has a missing menu bar when run on Ubuntu 11.10 under the Unity shell.  This problem can be solved by switching to the Gnome shell.

* * *
Tom Irvine

One thought on “Code::Blocks

  1. Pingback: MinGW Windows Installation « Vibrationdata

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s