<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MichaelAgarkov</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MichaelAgarkov"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/MichaelAgarkov"/>
	<updated>2026-04-21T17:49:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9855</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9855"/>
		<updated>2025-03-31T10:08:23Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Set version to 25.03&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOEDITSECTION__ __NOTOC__&lt;br /&gt;
{{Layout_box1|1=&lt;br /&gt;
[[Image:cb_splash.png|left]]&lt;br /&gt;
'''Welcome to the official Wiki for Code::Blocks'''&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.codeblocks.org Code::Blocks] is a free, open-source, cross-platform [[wikipedia:Integrated Development Environment|IDE]]. Using a plugin architecture, its capabilities and features are defined by the provided plugins.&amp;lt;br&amp;gt;&lt;br /&gt;
Currently, [https://www.codeblocks.org Code::Blocks] is oriented towards C/C++/Fortran.&lt;br /&gt;
The Code::Blocks team does not take responsibility for the content nor accuracy of these pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Wiki Editors: In order to edit pages, you must create an account on the [https://forums.codeblocks.org/ forums] and authenticate there. Read the [[Help:Contents|Help]] for editing guidelines. Look in the [[CodeBlocks:Community_Portal|community portal]] for things to do.&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;br clear=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; background-color=&amp;quot;transparent&amp;quot; &lt;br /&gt;
|width=&amp;quot;60%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- LEFT --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Did you know that using Layout_box2 here instead of &amp;lt;div&amp;gt; breaks the inner table? Strange... --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #dfeefb; border: 1px dotted #010101; margin: 5px; padding: 5px;&amp;quot;&amp;gt;&lt;br /&gt;
{|align=&amp;quot;center&amp;quot; style=&amp;quot;background:transparent&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
=== How do I... ===&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_Code::Blocks|...install Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_the_latest_official_version_of_Code::Blocks_on_Windows|Windows]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Ubuntu|Ubuntu]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Mac_OS_X|Mac OS X]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Fedora|Fedora]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_a_supported_compiler|...set up a compiler in Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_a_supported_compiler#MinGW.2FGCC|MinGW]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler#Microsoft_Visual_C.2B.2B|MS Visual C++]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Creating a new project|...create a new project?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Creating a new project#Changing file composition|Add files]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Modifying build options|Build options]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Virtual Targets|Virtual Targets]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Debugging_with_Code::Blocks|...debug my program?]]'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[FAQ-Settings#Q: How do I make Code::Blocks portable?|...make Code::Blocks portable?]]'''&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[User_documentation#Third-party_libraries|...use a 3rd-party library?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Using_wxWidgets|wxWidgets]] &amp;amp;middot;&lt;br /&gt;
[[Using_Boost|Boost]] &amp;amp;middot;&lt;br /&gt;
[[Using_SDL_with_Code::Blocks|SDL]] &amp;amp;middot;&lt;br /&gt;
[[User_documentation#Third-party_libraries|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;''Main article: [[Code::Blocks Documentation]]''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[User documentation]] ===&lt;br /&gt;
:Articles for Code::Blocks users&lt;br /&gt;
&lt;br /&gt;
=== [[FAQ]] ===&lt;br /&gt;
:Frequently Asked Questions&lt;br /&gt;
&lt;br /&gt;
=== [[Feature List]] ===&lt;br /&gt;
:An index of Code::Blocks' useful features&lt;br /&gt;
&lt;br /&gt;
=== [[Code::Blocks Plugins]] ===&lt;br /&gt;
:Plugins extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
=== [[Off-site documentation]] ===&lt;br /&gt;
:Links to external documentation&lt;br /&gt;
&lt;br /&gt;
=== [[Developer documentation]] ===&lt;br /&gt;
:Articles for developers of Code::Blocks itself&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;40%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- RIGHT --&amp;gt;&lt;br /&gt;
{{Layout_box4|1=&lt;br /&gt;
=== Download Code::Blocks ===&lt;br /&gt;
* Latest official release: [https://www.codeblocks.org/downloads/binaries 25.03]&lt;br /&gt;
* Nightly builds: [https://forums.codeblocks.org/index.php/board,20.0.html Forum board]&lt;br /&gt;
* Source code: [https://www.codeblocks.org/downloads/source 25.03], [https://www.codeblocks.org/downloads/svn current trunk]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Other resources ===&lt;br /&gt;
* [https://www.codeblocks.org Main website]&lt;br /&gt;
* [https://forums.codeblocks.org/ Community forums]&lt;br /&gt;
* [irc://irc.freenode.net/codeblocks IRC channel] and [http://webchat.freenode.net/?channels=codeblocks IRC channel web access]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Development ===&lt;br /&gt;
[[Image:Chk.png]][[Roadmap]] &lt;br /&gt;
* [[Developer documentation]]&lt;br /&gt;
* [http://sourceforge.net/projects/codeblocks/ Project page at Sourceforge]&lt;br /&gt;
* '''Bugs''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3ABug_Report+or+_type%3AUndefined bugs] or browse [http://alpha0010.github.io/cb-history/bugs.html old bugs]&lt;br /&gt;
* '''Features''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3AFeature_Request+or+_type%3AUndefined features] or browse [http://alpha0010.github.io/cb-history/features.html old features]&lt;br /&gt;
* '''Patches''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3APatch+or+_type%3AUndefined patches] or browse [http://alpha0010.github.io/cb-history/patches.html old patches]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
=== Supported compilers ===&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC (incl. G77)] (Linux)&lt;br /&gt;
* [https://www.mingw-w64.org/ MinGW-w64] (Win)&lt;br /&gt;
* [https://github.com/jmeubank/tdm-gcc/ TDM GCC] (Win)&lt;br /&gt;
* [https://www.msys2.org/ MSYS2] (Win)&lt;br /&gt;
* [https://www.cygwin.com/ Cygwin] (Win)&lt;br /&gt;
* [https://winlibs.com/ WinLibs GCC] (Win)&lt;br /&gt;
* [https://osdn.net/projects/mingw/ MinGW GCC (incl. G77)] (Win32)&lt;br /&gt;
* [http://mspgcc.sourceforge.net MSP430 GCC] (Win32)&lt;br /&gt;
* [http://www.hightec-rt.com TriCore and PowerPC GCC] (Win32, Linux)&lt;br /&gt;
* [https://developer.apple.com/xcode/ Apple XCode (GCC)] (Mac OS X)&lt;br /&gt;
&amp;lt;!-- Tested and working with Microsoft PSDK for Windows 2003 R2 and CodeBlocks b3577 --&amp;gt;&lt;br /&gt;
* [http://xona.com/2004/06/29.html Microsoft Visual C++ Toolkit 2003] (Win32)&lt;br /&gt;
* [https://visualstudio.microsoft.com/vs/community/ Microsoft Visual Community Edition] (Win)&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C++ Compiler 5.5] (Win32)&lt;br /&gt;
* [http://www.digitalmars.com/ DigitalMars C/C++] (Win32)&lt;br /&gt;
* [https://github.com/open-watcom/open-watcom-v2 OpenWatcom V2] (Win32)&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers Intel C++ compiler] (Win32)&lt;br /&gt;
* [https://bellard.org/tcc/ Tiny C compiler] (Win32, Linux)&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
* [http://dlang.org/ Digital Mars D] (Win32, Linux, Mac OS X)&lt;br /&gt;
* [https://gdcproject.org/ GDC D Compiler] (Linux)&lt;br /&gt;
* [https://github.com/ldc-developers/ldc/ LLVM D Compiler] (Win32, Linux, Mac OS X)&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[https://www.codeblocks.org/about.shtml The Code::Blocks team]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Special:Allpages|Index]]&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:DevPak_Installer_plugin&amp;diff=9854</id>
		<title>Talk:DevPak Installer plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:DevPak_Installer_plugin&amp;diff=9854"/>
		<updated>2025-03-20T15:56:13Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: /* DevPak installer works? */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== DevPak installer works? ==&lt;br /&gt;
&lt;br /&gt;
Does the DevPak installer still work to this day? It tries to connect to a now offline site and doesn't let the user change it.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:DevPak_Installer_plugin&amp;diff=9853</id>
		<title>Talk:DevPak Installer plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:DevPak_Installer_plugin&amp;diff=9853"/>
		<updated>2025-03-20T15:54:28Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9852</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9852"/>
		<updated>2025-03-17T21:24:11Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Change my contact email&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@michaelagarkov.ru michaelagarkov@michaelagarkov.ru]&lt;br /&gt;
&lt;br /&gt;
Personal Git server: https://michaelagarkov.ru/MichaelAgarkov&lt;br /&gt;
&lt;br /&gt;
Codeberg: https://codeberg.org/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9851</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9851"/>
		<updated>2025-03-17T16:24:44Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added my personal Git server link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@internet.ru michaelagarkov@internet.ru]&lt;br /&gt;
&lt;br /&gt;
Codeberg: https://codeberg.org/MichaelAgarkov&lt;br /&gt;
&lt;br /&gt;
Personal Git server: https://michaelagarkov.ru/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9846</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9846"/>
		<updated>2025-03-12T22:46:58Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
'''Official Code repository Subversion'''&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface by ViewVC: http://sourceforge.net/p/codeblocks/code/log/&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;http://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Carsten Arnholm''' (Read-only; )&lt;br /&gt;
* Web-interface: https://github.com/arnholm/codeblocks_sfmirror&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by biplab''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://cb.biplab.in/codeblocks/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface: http://cb.biplab.in/websvn/&lt;br /&gt;
* Git URL: git://cb.biplab.in/codeblocks.git&lt;br /&gt;
* Web-interface:http://cb.biplab.in/cgit/&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Jens''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: http://cgit.jenslody.de/&lt;br /&gt;
* Git URL: git://jenslody.de/git/codeblocks&lt;br /&gt;
* the above Web-interface link contains many other mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Obf''' (Read-only; refreshed manually. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: https://github.com/obfuscated/codeblocks_sf&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Articles for Code::Blocks developers.'''&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:[https://www.codeblocks.org/manual.shtml User's manual] in various formats and languages.&lt;br /&gt;
:Browse SDK documentation at http://alpha0010.github.io/cb-docs/ as html.&lt;br /&gt;
&lt;br /&gt;
* Compile the complete Code::Blocks from sources on '''[[Installing Code::Blocks from source on Windows|Windows]]''' and '''[[Installing Code::Blocks from source on Linux|Linux]]'''&lt;br /&gt;
&lt;br /&gt;
* '''[[Compile Code::Blocks plugins based on a nightly]]''' without the need to compile wxWidgets or the Code::Blocks core.&lt;br /&gt;
&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Old Translation page]'''&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks-gd/ New Translation page]'''&lt;br /&gt;
:See also [https://forums.codeblocks.org/index.php/topic,1022.msg159075.html#msg159075 Code::Blocks' translation]&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''[[Version control]]'''&lt;br /&gt;
:Tips and trick for working with our version control system.&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Plugin structure of C::B]]&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Linking the plugin to a Nightly Build]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
* [[Code::Completion Rewrite]] and [[Code Completion plugin]] and [[Code Completion Design]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;br /&gt;
&lt;br /&gt;
== Developing C::B with Git ==&lt;br /&gt;
For devs who want to use Git to develop C::B, here are some steps to follow, especially you need to correctly set the SVN and GIT properties so that you can make your local git commits back to the official SVN repo. See [https://forums.codeblocks.org/index.php/topic,16096.msg128152.html#msg128152 Re: Read-only Git, SVN Repo for Code::Blocks], also stahta01 has a nice instruction about how to use git, see [https://forums.codeblocks.org/index.php/topic,19533.msg133422.html#msg133422 Development How to use a Code::Blocks Git Repo].&lt;br /&gt;
&lt;br /&gt;
If you want to create a SVN style patch from git, see: [https://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530 This forum post].&lt;br /&gt;
&lt;br /&gt;
It's possible to build Code::Blocks through GitHub Actions, see [https://wiki.codeblocks.org/index.php/Building_Code::Blocks_through_GitHub_Actions Building Code::Blocks through GitHub Actions].&lt;br /&gt;
&lt;br /&gt;
== Debugging C::B ==&lt;br /&gt;
&lt;br /&gt;
* When C::B crashes, it will generate a call-stack file &amp;quot;codeblocks.RPT&amp;quot;, at the crash point (see [[FAQ-Compiling_(general)#Q: How do I report a compilation problem on the forums?|this]] for more information). This is a text file that you can open; if your C::B contains the debug information, it will have file and line information about each call. If your C::B is a stripped version, but you have the debug version of C::B, you can try to run the [https://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is an address2line UI interface that works under Windows.&lt;br /&gt;
* You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [https://forums.codeblocks.org/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]. You can use the project option plugin to change all the custom variable WX_SUFFIX from &amp;quot;u&amp;quot; to &amp;quot;ud&amp;quot; in the workspace, so that you can build C::B against wx debug library, see discussion here: [https://forums.codeblocks.org/index.php/topic,25959.0.html How to globally set the &amp;quot;custom variables&amp;quot; in the cbp files under a workspace].&lt;br /&gt;
* to accelerate the debugging process for many plugins(when GDB load a lot of plugins with debug information, it will be slow), there is a special profile named &amp;quot;debug-plugin&amp;quot;, a profile file is just a configure file named &amp;quot;debug-plugin.conf&amp;quot;, when you start with this profile, you can exclude other plugins, and only load the plugins you needed, see discussion here: [https://forums.codeblocks.org/index.php/topic,25161.0.html How to exclude the other plugins when debugging]&lt;br /&gt;
* if you application or the debugee C::B is built against release version of wxWidgets library, how to debug the wxWidgets symbols, the method is to use the gcc's option &amp;quot;-femit-class-debug-always&amp;quot;, see forum discussion here: [https://forums.codeblocks.org/index.php/topic,25731.0.html How to add gcc option &amp;quot;-femit-class-debug-always&amp;quot; to a single cpp file in cbp]&lt;br /&gt;
* to catch more debug information on the crash, we can distribute separate debug files, see discussion here: [https://forums.codeblocks.org/index.php/topic,25712.0.html new idea: ship the debug symbols in a separate file when we distribute C::B]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9845</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9845"/>
		<updated>2025-03-05T20:11:49Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Returned my mirror back online.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
'''Official Code repository Subversion'''&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface by ViewVC: http://sourceforge.net/p/codeblocks/code/log/&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;http://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Carsten Arnholm''' (Read-only; )&lt;br /&gt;
* Web-interface: https://github.com/arnholm/codeblocks_sfmirror&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Michael Agarkov''' (Read-only)&lt;br /&gt;
* Web-interface: https://michaelagarkov.ru/MichaelAgarkov/codeblocks&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by biplab''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://cb.biplab.in/codeblocks/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface: http://cb.biplab.in/websvn/&lt;br /&gt;
* Git URL: git://cb.biplab.in/codeblocks.git&lt;br /&gt;
* Web-interface:http://cb.biplab.in/cgit/&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Jens''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: http://cgit.jenslody.de/&lt;br /&gt;
* Git URL: git://jenslody.de/git/codeblocks&lt;br /&gt;
* the above Web-interface link contains many other mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Obf''' (Read-only; refreshed manually. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: https://github.com/obfuscated/codeblocks_sf&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Articles for Code::Blocks developers.'''&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:[https://www.codeblocks.org/manual.shtml User's manual] in various formats and languages.&lt;br /&gt;
:Browse SDK documentation at http://alpha0010.github.io/cb-docs/ as html.&lt;br /&gt;
&lt;br /&gt;
* Compile the complete Code::Blocks from sources on '''[[Installing Code::Blocks from source on Windows|Windows]]''' and '''[[Installing Code::Blocks from source on Linux|Linux]]'''&lt;br /&gt;
&lt;br /&gt;
* '''[[Compile Code::Blocks plugins based on a nightly]]''' without the need to compile wxWidgets or the Code::Blocks core.&lt;br /&gt;
&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Old Translation page]'''&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks-gd/ New Translation page]'''&lt;br /&gt;
:See also [https://forums.codeblocks.org/index.php/topic,1022.msg159075.html#msg159075 Code::Blocks' translation]&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''[[Version control]]'''&lt;br /&gt;
:Tips and trick for working with our version control system.&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Plugin structure of C::B]]&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Linking the plugin to a Nightly Build]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
* [[Code::Completion Rewrite]] and [[Code Completion plugin]] and [[Code Completion Design]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;br /&gt;
&lt;br /&gt;
== Developing C::B with Git ==&lt;br /&gt;
For devs who want to use Git to develop C::B, here are some steps to follow, especially you need to correctly set the SVN and GIT properties so that you can make your local git commits back to the official SVN repo. See [https://forums.codeblocks.org/index.php/topic,16096.msg128152.html#msg128152 Re: Read-only Git, SVN Repo for Code::Blocks], also stahta01 has a nice instruction about how to use git, see [https://forums.codeblocks.org/index.php/topic,19533.msg133422.html#msg133422 Development How to use a Code::Blocks Git Repo].&lt;br /&gt;
&lt;br /&gt;
If you want to create a SVN style patch from git, see: [https://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530 This forum post].&lt;br /&gt;
&lt;br /&gt;
It's possible to build Code::Blocks through GitHub Actions, see [https://wiki.codeblocks.org/index.php/Building_Code::Blocks_through_GitHub_Actions Building Code::Blocks through GitHub Actions].&lt;br /&gt;
&lt;br /&gt;
== Debugging C::B ==&lt;br /&gt;
&lt;br /&gt;
* When C::B crashes, it will generate a call-stack file &amp;quot;codeblocks.RPT&amp;quot;, at the crash point (see [[FAQ-Compiling_(general)#Q: How do I report a compilation problem on the forums?|this]] for more information). This is a text file that you can open; if your C::B contains the debug information, it will have file and line information about each call. If your C::B is a stripped version, but you have the debug version of C::B, you can try to run the [https://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is an address2line UI interface that works under Windows.&lt;br /&gt;
* You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [https://forums.codeblocks.org/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]. You can use the project option plugin to change all the custom variable WX_SUFFIX from &amp;quot;u&amp;quot; to &amp;quot;ud&amp;quot; in the workspace, so that you can build C::B against wx debug library, see discussion here: [https://forums.codeblocks.org/index.php/topic,25959.0.html How to globally set the &amp;quot;custom variables&amp;quot; in the cbp files under a workspace].&lt;br /&gt;
* to accelerate the debugging process for many plugins(when GDB load a lot of plugins with debug information, it will be slow), there is a special profile named &amp;quot;debug-plugin&amp;quot;, a profile file is just a configure file named &amp;quot;debug-plugin.conf&amp;quot;, when you start with this profile, you can exclude other plugins, and only load the plugins you needed, see discussion here: [https://forums.codeblocks.org/index.php/topic,25161.0.html How to exclude the other plugins when debugging]&lt;br /&gt;
* if you application or the debugee C::B is built against release version of wxWidgets library, how to debug the wxWidgets symbols, the method is to use the gcc's option &amp;quot;-femit-class-debug-always&amp;quot;, see forum discussion here: [https://forums.codeblocks.org/index.php/topic,25731.0.html How to add gcc option &amp;quot;-femit-class-debug-always&amp;quot; to a single cpp file in cbp]&lt;br /&gt;
* to catch more debug information on the crash, we can distribute separate debug files, see discussion here: [https://forums.codeblocks.org/index.php/topic,25712.0.html new idea: ship the debug symbols in a separate file when we distribute C::B]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9844</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9844"/>
		<updated>2025-03-04T17:41:38Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added Tiny C compiler.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers. Once this scan has finished, Code::Blocks will have been correctly configured for any detected compilers. Code::Blocks will also have default configurations even for compilers that were not found.&lt;br /&gt;
&lt;br /&gt;
This article is a guide for obtaining, installing, and configuring the various compilers that Code::Blocks can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Before using a compiler with Code::Blocks you have to install it. The method for installing the compiler depends on the Operating system you're using, the Compiler you intend to use and so on.&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure (if the compiler is natively supported by Code::Blocks). Launch Code::Blocks and you're all set :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
* If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
* If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
* If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Once you've installed a new compiler, be sure to read the Compiler-neutral setup steps at the end of this article.&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Windows:&lt;br /&gt;
* [https://osdn.net/projects/mingw/ MinGW GCC C/C++ Free Compiler, including GFortran]&lt;br /&gt;
** [http://www.cygwin.org Cygwin GCC C/C++ Free Compiler]&lt;br /&gt;
*** [[#HOWTO: Use Cygwin 1.7 with Code::Blocks|HOWTO: Use Cygwin 1.7 with Code::Blocks]]&lt;br /&gt;
* [http://www.ti.com/tool/msp430-gcc-opensource MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html PowerPC GCC C/C++]&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [https://bellard.org/tcc/ Tiny C Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-windows.html Digital Mars D Compiler for Windows]&lt;br /&gt;
These compilers are generally still under active development by their publishers, so a new version of their software could be released that is incompatible with the current version of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
The following compilers are still supported by Code::Blocks, but are no longer available from their original publishers.&lt;br /&gt;
* Microsoft's Visual C++ 2003 - 2010&lt;br /&gt;
&lt;br /&gt;
The following publishers have released newer versions of their compilers which should be tested against the current configuration.  In other words, it is not known yet whether these compilers still work with Code::Blocks.&lt;br /&gt;
&amp;lt;!-- * [https://www.embarcadero.com/free-tools/ccompiler Embarcadero's (formerly Borland) C/C++ Free Compiler] --&amp;gt;&lt;br /&gt;
* [http://www.openwatcom.org/download.php OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers/ipsxe Intel C/C++ Compiler] &amp;lt;!-- Does somebody have this one? I do not quality for the free version and do not need to pay for yet another C-compiler on my machine. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is now [https://osdn.net/projects/mingw/ here]. A MinGW-bundled version of the latest Code::Blocks release is available from the [https://www.codeblocks.org/downloads/5#windows Code::Blocks download page]. If you install this version, the GCC compiler will be automatically detected and set as the default. Also you can use the TDM's GCC/mingw32 Builds from [https://forums.codeblocks.org/index.php/topic,10508.0.html] or [https://jmeubank.github.io/tdm-gcc/].&lt;br /&gt;
&lt;br /&gt;
'''Note''': In any case, if you don't install MinGW in C:\MinGW, you'll need to update the configuration of GCC in Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
==== Official MinGW ====&lt;br /&gt;
You can install '''MinGW''' yourself, by using an automatic downloader/installer or by downloading and unpacking the required packages by hand from [https://osdn.net/projects/mingw/ OSDN], if needed, here is the [https://sourceforge.net/projects/mingw/ old sourceforge repository].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC:&lt;br /&gt;
&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-build-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-core-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-g++-3.4.5-20060117-3.tar.gz&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
&lt;br /&gt;
==== HOWTO: Use Cygwin 1.7 with Code::Blocks ====&lt;br /&gt;
Cygwin 1.7 changed the way symlinks were created and handled when invoked from a command prompt. I couldn't find a way to force CB to use a unix-link shell, but was able to find a work around when perusing the Cygwin mailing lists.&lt;br /&gt;
&lt;br /&gt;
The symptom would show up with a message similar to the one below:&lt;br /&gt;
&lt;br /&gt;
  Execution of 'g++.exe -Wall -fexceptions  -g     -c c:/dev/code/cb1/main.cpp -o obj/Debug/main.o' in 'c:\dev\code\cb1' failed.&lt;br /&gt;
&lt;br /&gt;
Executing the same command from the CMD.EXE prompt yields an &amp;quot;Access is denied&amp;quot; message. This was how I was able to track down why the issue occurred. For more info, see this cygwin mailing list thread: http://www.mail-archive.com/cygwin@cygwin.com/msg104088.html&lt;br /&gt;
&lt;br /&gt;
'''Solution'''&lt;br /&gt;
&lt;br /&gt;
The solution is to point your compiler and linker directly to the version of gcc and g++ that you want to use.&lt;br /&gt;
&lt;br /&gt;
In my case, I wanted to use gcc-4.exe and g++-4.exe and so, I went into Settings-&amp;gt;Compiler and Debugger-&amp;gt;Toolchain executables. There I changed the &amp;quot;C Complier&amp;quot;, &amp;quot;C++ Compiler&amp;quot; and &amp;quot;Linker for dynamic libs&amp;quot; to point to gcc-4.exe, g++-4.exe and g++-4.exe.&lt;br /&gt;
&lt;br /&gt;
After this, compilation and linking worked fine.&lt;br /&gt;
&lt;br /&gt;
It would also be a good idea to add an environment variable CYGWIN with a value of nodosfilewarning in Settings-&amp;gt;Environment-&amp;gt;Environment Variables. This eliminates the following (harmless) warning message:&lt;br /&gt;
&lt;br /&gt;
  MS-DOS style path detected: c:/&lt;br /&gt;
    Preferred POSIX equivalent is: /c&lt;br /&gt;
    CYGWIN environment variable option &amp;quot;nodosfilewarning&amp;quot; turns off this warning.&lt;br /&gt;
    Consult the user's guide for more details about POSIX paths:&lt;br /&gt;
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames&lt;br /&gt;
&lt;br /&gt;
See also: [[Installing Cygwin Compiler]]&lt;br /&gt;
&lt;br /&gt;
==== (Unofficial) TDM - &amp;quot;Twilight Dragon Media&amp;quot; ====&lt;br /&gt;
These packages are called '''TDM's GCC/mingw32 Builds''' and can be obtained from [https://jmeubank.github.io/tdm-gcc/ here].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.1-tdm-2 SJLJ:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; 4.4.1-tdm-2 SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.1-tdm-2-core.zip&lt;br /&gt;
** gcc-4.4.1-tdm-2-g++.zip&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326-3.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
These packages are included in both the Bundled Installer and the On-Demand Installer available via TDMs [https://jmeubank.github.io/tdm-gcc/download/ download page].&lt;br /&gt;
&lt;br /&gt;
=== Embarcadero C++ Compiler BCC32C ===&lt;br /&gt;
Formerly Borland's C++ Compiler, this compiler is now published by Embarcadero, with active on-going development; the current version is 10.1 as of this writing.  Go to [https://www.embarcadero.com/free-tools/ccompiler their product download page] to download.  You will be asked to enter some registration information (registration is free) then the download will begin.  You will receive a ZIP archive which contains installation instructions in a text file in the root directory of the archive; it does not have an installer program.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Tiny C Compiler ===&lt;br /&gt;
The [https://bellard.org/tcc/ Tiny C compiler] is supported. Go to the [http://download.savannah.gnu.org/releases/tinycc/ download page] and select the version that you want. If you chose the Win32 version, make sure to also get the winapi. Extract the compiler to &amp;quot;C:\tcc&amp;quot; so that the binary is at &amp;quot;C:\tcc\tcc.exe&amp;quot;. Code::Blocks should auto-detect the compiler there.&lt;br /&gt;
&lt;br /&gt;
=== Intel C++ Compiler ===&lt;br /&gt;
Please note that on Windows platform, Intel C/C++ compiler requires ''Microsoft Visual C++[http://www.microsoft.com/express/download/offline.aspx]'' to be present in your system in order to function properly. It will not compile any C++ program without it. You should also note that ''Windows SDK[http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en]'' shall be installed in order to compile Windows app.&lt;br /&gt;
&lt;br /&gt;
Code::Blocks (C::B) is now able to detect (from svn revision 4967 onwards) Intel C/C++ compiler and it'll then automatically setup the MSVC compiler so that the Intel compiler works as intended. However if you wish to manually install the Intel C/C++ compiler, then follow the following steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''Settings &amp;gt; Compilers and debuggers''' and then select '''Intel C/C++ compiler'''.&lt;br /&gt;
* Click on the '''Toolchain executables''' tab. Point to the installation directory, e.g. &amp;lt;tt&amp;gt;C:\Program Files\Intel\Compiler\C++\10.1.020\IA32&amp;lt;/tt&amp;gt; , inside the ''Compiler's installation directory'' textbox.&lt;br /&gt;
* Click on the '''Additional Paths''' tab and fill in the directories pointing to MSVC bin directory and the Windows SDK directory. It may look like-&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\bin&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\bin&lt;br /&gt;
* Click on the '''Search directories''' tab and add the include directories containing headers offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK headers to '''Compiler''' and '''Resource compiler'''. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\include&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\include&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include&lt;br /&gt;
* Click on the '''Linker''' tab under '''Search directories''' tab and add the directories containing libraries offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\lib&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\lib&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button to save the settings. Now you should be able to use Intel C/C++ compilers on Windows with C::B.&lt;br /&gt;
&lt;br /&gt;
Note: The directories specified above may be different on your PC.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars D Compiler for Windows ===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit Windows, and in future it will support 64bit Windows.&lt;br /&gt;
If you want to build D program in CodeBlocks on 32bit Windows, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Windows system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Windows http://www.digitalmars.com/d/2.0/dmd-windows.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here: https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''&lt;br /&gt;
&lt;br /&gt;
    2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field;&lt;br /&gt;
    2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib\phobos.lib'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;;&lt;br /&gt;
    2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\src\phobos'''&amp;quot; into the field;&lt;br /&gt;
    2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib'''&amp;quot; into the field;&lt;br /&gt;
    2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''D:\Program\DMD2\windows'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed;&lt;br /&gt;
          (if you installed DMD2 correctly acc. to Installation setp, just click 'Auto-detect' button.)&lt;br /&gt;
    2.7). Additional: If you wan to specify the DMC (Digital Mars C/C++ Compiler) you can do like this:&lt;br /&gt;
          click &amp;quot;Toolchain executables -&amp;gt; Additional Paths&amp;quot;, and add &amp;quot;D:\Program\DMC\bin&amp;quot; into the field.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;D:\Program\DMD2&amp;quot; or &amp;quot;D:\Program\DMC\bin&amp;quot; here should change to your own DMD or DMC path in your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Linux:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-linux.html Digital Mars D Compiler for Linux]&lt;br /&gt;
&lt;br /&gt;
===Digital Mars D Compiler for Linux===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit and 64bit Linux, and 'support Linux library' is under construction. If you want to build D program in CodeBlocks on 32bit and 64bit Linux, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Linux system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Linux http://www.digitalmars.com/d/2.0/dmd-linux.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here:&lt;br /&gt;
https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
A). 32bit Linux &amp;amp; 32bit DMD2.&lt;br /&gt;
&lt;br /&gt;
On 32bit Linux, you should combine 32bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    A.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    A.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field.&lt;br /&gt;
    A.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    A.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    A.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    A.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    A.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B1). 64bit Linux &amp;amp; '''64bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 64bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B1.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B1.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m64'''  into the field.&lt;br /&gt;
    B1.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B1.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B1.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64'''&amp;quot; into the field. &lt;br /&gt;
    B1.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B1.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m64 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B2). 64bit Linux with '''32bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 32bit DMD2 with 64bit together from DMD2 source and install them into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add '''-m32''' into the field.&lt;br /&gt;
    B2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    B2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B2.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install a ''compatible'' version Xcode Tools from http://developer.apple.com/tools/ (or http://developer.apple.com/downloads). You need the &amp;quot;Command Line Tools&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
=== Setting up compiler switches ===&lt;br /&gt;
&lt;br /&gt;
Usually you need to tweak the compiler options to be able to compile C++ applications - that's the stuff Xcode hides from your eyes, but you better should know. You need to point to the GNU compiler's C/C++ include folders, to the GNU linkers libraries folder and a adjust the compiler options to setup the GNU compiler root path. Those path's differ depending on what hardware (processor architecture) and what version of MacOS is used. For an Intel based Mac with MacOS 10.6.2 and Xcode v3.2.2 the following should work:&lt;br /&gt;
&lt;br /&gt;
Compiler search directories (&amp;quot;include&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linker search directories (&amp;quot;library&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional compiler flags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Compilation ==&lt;br /&gt;
Remote compilation is not directly supported by Code::Blocks, however, the following articles explain two remote compilation systems, which use 3rd party programs to provide this functionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;br /&gt;
&lt;br /&gt;
== Misc. Custom Compilers ==&lt;br /&gt;
There are several user contributions for different (non-C/C++) compiler which are listed here:&lt;br /&gt;
&lt;br /&gt;
https://wiki.codeblocks.org/index.php?title=User_documentation#Compilers&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9843</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9843"/>
		<updated>2025-03-04T17:36:10Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Add Tiny C compiler.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOEDITSECTION__ __NOTOC__&lt;br /&gt;
{{Layout_box1|1=&lt;br /&gt;
[[Image:cb_splash.png|left]]&lt;br /&gt;
'''Welcome to the official Wiki for Code::Blocks'''&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.codeblocks.org Code::Blocks] is a free, open-source, cross-platform [[wikipedia:Integrated Development Environment|IDE]]. Using a plugin architecture, its capabilities and features are defined by the provided plugins.&amp;lt;br&amp;gt;&lt;br /&gt;
Currently, [https://www.codeblocks.org Code::Blocks] is oriented towards C/C++/Fortran.&lt;br /&gt;
The Code::Blocks team does not take responsibility for the content nor accuracy of these pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Wiki Editors: In order to edit pages, you must create an account on the [https://forums.codeblocks.org/ forums] and authenticate there. Read the [[Help:Contents|Help]] for editing guidelines. Look in the [[CodeBlocks:Community_Portal|community portal]] for things to do.&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;br clear=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; background-color=&amp;quot;transparent&amp;quot; &lt;br /&gt;
|width=&amp;quot;60%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- LEFT --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Did you know that using Layout_box2 here instead of &amp;lt;div&amp;gt; breaks the inner table? Strange... --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #dfeefb; border: 1px dotted #010101; margin: 5px; padding: 5px;&amp;quot;&amp;gt;&lt;br /&gt;
{|align=&amp;quot;center&amp;quot; style=&amp;quot;background:transparent&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
=== How do I... ===&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_Code::Blocks|...install Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_the_latest_official_version_of_Code::Blocks_on_Windows|Windows]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Ubuntu|Ubuntu]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Mac_OS_X|Mac OS X]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Fedora|Fedora]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_a_supported_compiler|...set up a compiler in Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_a_supported_compiler#MinGW.2FGCC|MinGW]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler#Microsoft_Visual_C.2B.2B|MS Visual C++]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Creating a new project|...create a new project?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Creating a new project#Changing file composition|Add files]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Modifying build options|Build options]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Virtual Targets|Virtual Targets]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Debugging_with_Code::Blocks|...debug my program?]]'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[FAQ-Settings#Q: How do I make Code::Blocks portable?|...make Code::Blocks portable?]]'''&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[User_documentation#Third-party_libraries|...use a 3rd-party library?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Using_wxWidgets|wxWidgets]] &amp;amp;middot;&lt;br /&gt;
[[Using_Boost|Boost]] &amp;amp;middot;&lt;br /&gt;
[[Using_SDL_with_Code::Blocks|SDL]] &amp;amp;middot;&lt;br /&gt;
[[User_documentation#Third-party_libraries|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;''Main article: [[Code::Blocks Documentation]]''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[User documentation]] ===&lt;br /&gt;
:Articles for Code::Blocks users&lt;br /&gt;
&lt;br /&gt;
=== [[FAQ]] ===&lt;br /&gt;
:Frequently Asked Questions&lt;br /&gt;
&lt;br /&gt;
=== [[Feature List]] ===&lt;br /&gt;
:An index of Code::Blocks' useful features&lt;br /&gt;
&lt;br /&gt;
=== [[Code::Blocks Plugins]] ===&lt;br /&gt;
:Plugins extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
=== [[Off-site documentation]] ===&lt;br /&gt;
:Links to external documentation&lt;br /&gt;
&lt;br /&gt;
=== [[Developer documentation]] ===&lt;br /&gt;
:Articles for developers of Code::Blocks itself&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;40%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- RIGHT --&amp;gt;&lt;br /&gt;
{{Layout_box4|1=&lt;br /&gt;
=== Download Code::Blocks ===&lt;br /&gt;
* Latest official release: [https://www.codeblocks.org/downloads/binaries 20.03]&lt;br /&gt;
* Nightly builds: [https://forums.codeblocks.org/index.php/board,20.0.html Forum board]&lt;br /&gt;
* Source code: [https://www.codeblocks.org/downloads/source 20.03], [https://www.codeblocks.org/downloads/svn current trunk]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Other resources ===&lt;br /&gt;
* [https://www.codeblocks.org Main website]&lt;br /&gt;
* [https://forums.codeblocks.org/ Community forums]&lt;br /&gt;
* [irc://irc.freenode.net/codeblocks IRC channel] and [http://webchat.freenode.net/?channels=codeblocks IRC channel web access]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Development ===&lt;br /&gt;
[[Image:Chk.png]][[Roadmap]] &lt;br /&gt;
* [[Developer documentation]]&lt;br /&gt;
* [http://sourceforge.net/projects/codeblocks/ Project page at Sourceforge]&lt;br /&gt;
* '''Bugs''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3ABug_Report+or+_type%3AUndefined bugs] or browse [http://alpha0010.github.io/cb-history/bugs.html old bugs]&lt;br /&gt;
* '''Features''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3AFeature_Request+or+_type%3AUndefined features] or browse [http://alpha0010.github.io/cb-history/features.html old features]&lt;br /&gt;
* '''Patches''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3APatch+or+_type%3AUndefined patches] or browse [http://alpha0010.github.io/cb-history/patches.html old patches]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
=== Supported compilers ===&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC (incl. G77)] (Linux)&lt;br /&gt;
* [https://www.mingw-w64.org/ MinGW-w64] (Win)&lt;br /&gt;
* [https://github.com/jmeubank/tdm-gcc/ TDM GCC] (Win)&lt;br /&gt;
* [https://www.msys2.org/ MSYS2] (Win)&lt;br /&gt;
* [https://www.cygwin.com/ Cygwin] (Win)&lt;br /&gt;
* [https://winlibs.com/ WinLibs GCC] (Win)&lt;br /&gt;
* [https://osdn.net/projects/mingw/ MinGW GCC (incl. G77)] (Win32)&lt;br /&gt;
* [http://mspgcc.sourceforge.net MSP430 GCC] (Win32)&lt;br /&gt;
* [http://www.hightec-rt.com TriCore and PowerPC GCC] (Win32, Linux)&lt;br /&gt;
* [https://developer.apple.com/xcode/ Apple XCode (GCC)] (Mac OS X)&lt;br /&gt;
&amp;lt;!-- Tested and working with Microsoft PSDK for Windows 2003 R2 and CodeBlocks b3577 --&amp;gt;&lt;br /&gt;
* [http://xona.com/2004/06/29.html Microsoft Visual C++ Toolkit 2003] (Win32)&lt;br /&gt;
* [https://visualstudio.microsoft.com/vs/community/ Microsoft Visual Community Edition] (Win)&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C++ Compiler 5.5] (Win32)&lt;br /&gt;
* [http://www.digitalmars.com/ DigitalMars C/C++] (Win32)&lt;br /&gt;
* [https://github.com/open-watcom/open-watcom-v2 OpenWatcom V2] (Win32)&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers Intel C++ compiler] (Win32)&lt;br /&gt;
* [https://bellard.org/tcc/ Tiny C compiler] (Win32, Linux)&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
* [http://dlang.org/ Digital Mars D] (Win32, Linux, Mac OS X)&lt;br /&gt;
* [https://gdcproject.org/ GDC D Compiler] (Linux)&lt;br /&gt;
* [https://github.com/ldc-developers/ldc/ LLVM D Compiler] (Win32, Linux, Mac OS X)&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[https://www.codeblocks.org/about.shtml The Code::Blocks team]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Special:Allpages|Index]]&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9836</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9836"/>
		<updated>2025-01-03T22:55:41Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@internet.ru michaelagarkov@internet.ru]&lt;br /&gt;
&lt;br /&gt;
Codeberg: https://codeberg.org/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9835</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9835"/>
		<updated>2025-01-03T22:55:21Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Change my email to the new one and replace GitHub link to Codeberg.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@internet.ru michaelagarkov@internet.ru]&lt;br /&gt;
&lt;br /&gt;
CodebergL https://codeberg.org/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9834</id>
		<title>FAQ-General</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9834"/>
		<updated>2024-12-27T18:22:58Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Q: What is Code::Blocks? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).&lt;br /&gt;
&lt;br /&gt;
==== Q: What Code::Blocks is not? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided &amp;quot;as-is&amp;quot; and not developed/maintained by the Code::Blocks development team.&lt;br /&gt;
&lt;br /&gt;
==== Q: What license is Code::Blocks released under? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.&lt;br /&gt;
&lt;br /&gt;
==== Q: When will the next stable version of Code::Blocks be released? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' When it will be ready.&lt;br /&gt;
&lt;br /&gt;
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Yes, this is implemented, but you'll need the [[help plugin]]. So if you are using the installer, make sure you enable this plugin.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9833</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9833"/>
		<updated>2024-12-21T10:58:29Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Reverted to old version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@outlook.com michaelagarkov@outlook.com]&lt;br /&gt;
&lt;br /&gt;
GitHub: https://github.com/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=CodeBlocks:Privacy_policy&amp;diff=9832</id>
		<title>CodeBlocks:Privacy policy</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=CodeBlocks:Privacy_policy&amp;diff=9832"/>
		<updated>2024-12-11T11:47:02Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins&amp;diff=9831</id>
		<title>Code::Blocks Plugins</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins&amp;diff=9831"/>
		<updated>2024-12-10T19:19:35Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fixed old text to relevant information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: User Documentation]]&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Code::Blocks' features can be extend by using '''plugins''', most of them listed on this page. There are generally three types of plugins:&lt;br /&gt;
# Core plugins - developed and maintained by the core C::B team.&lt;br /&gt;
# Contrib plugins - developed and maintained by the community and proven to be very valuable. So they are integrated into the C::B SVN.&lt;br /&gt;
# 3rd party plugins - developed and maintained by the community but not (yet?) in the C::B repository. Theses plugins often have their own repository or are being posted (including the source code) in the forums.&lt;br /&gt;
&lt;br /&gt;
'''If you are looking for plugins:'''&lt;br /&gt;
# Look in the official release. Notice that the installer / package manager might require you to enable some of the plugins specifically. So READ carefully.&lt;br /&gt;
# Search the forums for announcements, especially the forums at [/index.php/board,14.0.html].&lt;br /&gt;
# There might be information on the WiKi concerning other plugins on this page and '''[[Announcement_for_plugins/patches|here]]'''.&lt;br /&gt;
&lt;br /&gt;
For Windows users, the default behavior of the current installer (20.03) installs the contrib plugins.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''If you are developing plugins:'''&lt;br /&gt;
&lt;br /&gt;
* Please read [https://wiki.codeblocks.org/index.php/Managing_Plug-in_Resources this page] for creating and producing a plugin.&lt;br /&gt;
* You will need to store the source code for the plugin for other developers to have access to it. You can do this on SourceForge or Github or your favorite source code repository web site.&lt;br /&gt;
* Setup your own webpage on a file sharing platform that can be used for documenting and distribution of the plugin. This will allow users to download the plugin to install on their Code::Blocks installation.&lt;br /&gt;
&lt;br /&gt;
Once you have a working and production ready plugin for other developers to use then you can do the following:&lt;br /&gt;
* Read [https://wiki.codeblocks.org/index.php/Announcement_for_plugins/patches this page] for information on how to announce you have a plugin on the Code::Blocks forum.&lt;br /&gt;
* In your announcement in the [https://forums.codeblocks.org/index.php/board,14.0.html forum] please also ask for your plugin to be added to the Code::Blocks wiki [https://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins plugin page] with the details you would like to see on the page.&lt;br /&gt;
&lt;br /&gt;
== Core Plugins ==&lt;br /&gt;
&lt;br /&gt;
The core plugins are installed by default and offer the basic functions of Code::Blocks. The core plugins are maintained / developed by the official development team.&lt;br /&gt;
&lt;br /&gt;
'''[[Abbreviations plugin|Abbreviations]]'''&lt;br /&gt;
:Code::Blocks AutoComplete plugin.&lt;br /&gt;
&lt;br /&gt;
'''[[Autosave plugin|Autosave]]'''&lt;br /&gt;
&lt;br /&gt;
:Saves project files between intervals.&lt;br /&gt;
&lt;br /&gt;
'''[[Class Wizard plugin|Class Wizard]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides wizard for creating new classes.&lt;br /&gt;
&lt;br /&gt;
'''[[Code Completion plugin|Code Completion]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides code completion functionality and class browser.&lt;br /&gt;
&lt;br /&gt;
'''[[CB Clangd Client|CB Clangd Client]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides code completion functionality and class browser by Clangd through LSP.&lt;br /&gt;
&lt;br /&gt;
'''[[Compiler plugin|Compiler]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides support for various compilers in one interface.&lt;br /&gt;
&lt;br /&gt;
'''[[Debugger plugin|Debugger]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides support for various debuggers in one interface.&lt;br /&gt;
&lt;br /&gt;
'''[[File Extension Handler plugin|File Extensions Handler]]'''&lt;br /&gt;
&lt;br /&gt;
:Adds extra file extension handlers.&lt;br /&gt;
&lt;br /&gt;
'''[[Header Guard plugin|Header Guard]]''' ''(Disabled by default.)''&lt;br /&gt;
&lt;br /&gt;
:Create header guards (if needed) on file save.&lt;br /&gt;
&lt;br /&gt;
'''[[LogHacker plugin|LogHacker]]''' ''(Disabled by default.)''&lt;br /&gt;
&lt;br /&gt;
:Manipulate loggers.&lt;br /&gt;
&lt;br /&gt;
'''[[ModPoller plugin|ModPoller]]''' ''(Disabled by default.)''&lt;br /&gt;
&lt;br /&gt;
:Frequently check for external modification.&lt;br /&gt;
&lt;br /&gt;
'''[[Open Files List plugin|Open Files List]]'''&lt;br /&gt;
&lt;br /&gt;
:Manages a list of all opened files (editors).&lt;br /&gt;
&lt;br /&gt;
'''[[Projects Importer plugin|Projects Importer]]'''&lt;br /&gt;
&lt;br /&gt;
:Imports projects from other IDE's, e.g. MS Visual Studio and DevC++.&lt;br /&gt;
&lt;br /&gt;
'''[[Scripted Wizard plugin|Scripted Wizard]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides scripted wizard functionality.&lt;br /&gt;
&lt;br /&gt;
'''[[Source Code Formatter plugin|Source Code Formatter]]''' (AStyle)&lt;br /&gt;
&lt;br /&gt;
:Formats source code files with specific style.&lt;br /&gt;
&lt;br /&gt;
'''[[Tidycmt plugin|Tidycmt]]''' ''(Disabled by default.)''&lt;br /&gt;
&lt;br /&gt;
:Formats comments on file save.&lt;br /&gt;
&lt;br /&gt;
'''[[To-Do List plugin|To-Do List]]'''&lt;br /&gt;
&lt;br /&gt;
:Adds to-do items to source code.&lt;br /&gt;
&lt;br /&gt;
'''[[WinXP Look'n'Feel plugin|WinXP Look'n'Feel]]'''&lt;br /&gt;
&lt;br /&gt;
:Creates manifest file which enables the version 6.0 of the Common Controls on Windows XP.&lt;br /&gt;
&lt;br /&gt;
== Contrib Plugins ==&lt;br /&gt;
&lt;br /&gt;
The user-''contrib''uted plugins are not installed by default and offer extended functionality for Code::Blocks. The contrib plugins are maintained / developed by third-party developers.&lt;br /&gt;
&lt;br /&gt;
'''[[Aligner plugin|Aligner]]'''&lt;br /&gt;
&lt;br /&gt;
:Code alignment.&lt;br /&gt;
&lt;br /&gt;
'''[[AutoVersioning plugin|Auto Versioning]]'''&lt;br /&gt;
&lt;br /&gt;
:Helps you keep track of your project version and status.&lt;br /&gt;
&lt;br /&gt;
'''[[Browse Tracker plugin|Browse Tracker]]'''&lt;br /&gt;
&lt;br /&gt;
:Browse to previous source positions.&lt;br /&gt;
&lt;br /&gt;
'''[[C::B Games plugin|C::B Games]]'''&lt;br /&gt;
&lt;br /&gt;
:Games in a integrated development environment? You bet.&lt;br /&gt;
&lt;br /&gt;
'''[[CCCC plugin|CCCC]]'''&lt;br /&gt;
&lt;br /&gt;
:Integrates CCCC tool for measurement of source code metrics (http://sourceforge.net/projects/cccc/) into Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[Code Profiler plugin|Code Profiler]]'''&lt;br /&gt;
&lt;br /&gt;
:Provides graphical interface to GNU GProf profiler.&lt;br /&gt;
&lt;br /&gt;
'''[[Code Snippets plugin|Code Snippets]]'''&lt;br /&gt;
&lt;br /&gt;
:Manages small pieces of code (i.e. snippets).&lt;br /&gt;
&lt;br /&gt;
'''[[Code Statistics plugin|Code Statistics]]'''&lt;br /&gt;
&lt;br /&gt;
:Shows various statistics from source code files.&lt;br /&gt;
&lt;br /&gt;
'''[[Copy Strings to Clipboard plugin|Copy Strings to Clipboard]]'''&lt;br /&gt;
&lt;br /&gt;
:Copies literal strings from the current editor to clipboard.&lt;br /&gt;
&lt;br /&gt;
'''[[CppCheck plugin|CppCheck]]'''&lt;br /&gt;
&lt;br /&gt;
:Integrates the static code analyzer Cppcheck into Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[Cscope plugin|Cscope]]'''&lt;br /&gt;
&lt;br /&gt;
:Integrates Cscope (http://cscope.sourceforge.net/) into Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[DevPak Installer plugin|DevPak Installer]]'''&lt;br /&gt;
&lt;br /&gt;
:Installs and updates DevC++ DevPaks.&lt;br /&gt;
&lt;br /&gt;
'''[[DoxyBlocks plugin|DoxyBlocks]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin provides doxygen integration for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[DragScroll plugin|DragScroll]]'''&lt;br /&gt;
&lt;br /&gt;
:Enables dragging and scrolling with mouse.&lt;br /&gt;
&lt;br /&gt;
'''[[EditorConfig plugin|EditorConfig]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin implements the http://EditorConfig.org/ file format.&lt;br /&gt;
&lt;br /&gt;
'''[[Editor Tweaks plugin|Editor Tweaks]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin provides some additional tweaks for Code::Blocks editor.&lt;br /&gt;
&lt;br /&gt;
'''[[Environment Variables plugin|Environment Variables]]'''&lt;br /&gt;
&lt;br /&gt;
:Sets environment variables within the focus of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[File Manager plugin|File Manager]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin provides a simple file manager as a tab in the Code::Blocks management pane.&lt;br /&gt;
&lt;br /&gt;
'''[[Header Fixup plugin|Header Fixup]]'''&lt;br /&gt;
&lt;br /&gt;
:Adds missing includes/forward declarations to C++ source files.&lt;br /&gt;
&lt;br /&gt;
'''[[Help plugin|Help]]'''&lt;br /&gt;
&lt;br /&gt;
:Integrates third-party help files to the interface.&lt;br /&gt;
&lt;br /&gt;
'''[[HexEditor plugin|HexEditor]]'''&lt;br /&gt;
&lt;br /&gt;
:Opens files in a Code::Blocks integrated HexEditor.&lt;br /&gt;
&lt;br /&gt;
'''[[Incremental Search plugin|Incremental Search]]'''&lt;br /&gt;
&lt;br /&gt;
:Searches and highlights a marked text incrementally within the open editor.&lt;br /&gt;
&lt;br /&gt;
'''[[Keyboard Shortcuts plugin|Keyboard Shortcuts]]'''&lt;br /&gt;
&lt;br /&gt;
:Manages menu shortcuts.&lt;br /&gt;
&lt;br /&gt;
'''[[Koders plugin|Koders]]'''&lt;br /&gt;
&lt;br /&gt;
:Queries the Koders webpage for keywords.&lt;br /&gt;
&lt;br /&gt;
'''[[Library finder plugin|Library finder]]'''&lt;br /&gt;
&lt;br /&gt;
:Tool for automatically searching for installed libraries, and adding them to the project.&lt;br /&gt;
&lt;br /&gt;
'''[[NassiShneiderman plugin|NassiShneiderman]]'''&lt;br /&gt;
&lt;br /&gt;
:Allows the creation of Nassi Shneiderman diagrams within Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[RegEx Testbed plugin|RegEx Testbed]]'''&lt;br /&gt;
&lt;br /&gt;
:Regular expressions testbed.&lt;br /&gt;
&lt;br /&gt;
'''[[ReopenEditor plugin|ReopenEditor]]'''&lt;br /&gt;
&lt;br /&gt;
:Reopen a closed editor via hotkey, menu-item, or from a list.&lt;br /&gt;
&lt;br /&gt;
'''[[Rndgen plugin|Rndgen]]'''&lt;br /&gt;
&lt;br /&gt;
:Generates random values (numbers or strings) when saving a file.&lt;br /&gt;
&lt;br /&gt;
'''[[SmartIndent plugin|SmartIndent]]'''&lt;br /&gt;
&lt;br /&gt;
:A suite of plugins that supply smart indenting for various languages.&lt;br /&gt;
&lt;br /&gt;
'''[[Source Exporter plugin|Source Exporter]]'''&lt;br /&gt;
&lt;br /&gt;
:Exports source code files to other formats such as HTML and PDF.&lt;br /&gt;
&lt;br /&gt;
'''[[SpellChecker plugin|SpellChecker]]'''&lt;br /&gt;
&lt;br /&gt;
:A plugin to check the spelling of strings and comments.&lt;br /&gt;
&lt;br /&gt;
'''[[Symbol Table plugin|Symbol Table]]'''&lt;br /&gt;
&lt;br /&gt;
:A simple graphical interface to the GNU symbol table displayer (nm).&lt;br /&gt;
&lt;br /&gt;
'''[[ThreadSearch plugin|ThreadSearch]]'''&lt;br /&gt;
&lt;br /&gt;
:Multi-threaded 'Search in files' with preview window.&lt;br /&gt;
&lt;br /&gt;
'''[[Tools+ plugin|Tools+]]'''&lt;br /&gt;
&lt;br /&gt;
:Creation and management of custom tools.&lt;br /&gt;
&lt;br /&gt;
'''[[Valgrind plugin|Valgrind]]'''&lt;br /&gt;
&lt;br /&gt;
:Valgrind analysis tools integration. (Valgrind does not run on Windows)&lt;br /&gt;
&lt;br /&gt;
'''[[wxSmith plugin|wxSmith]]'''&lt;br /&gt;
&lt;br /&gt;
:RAD tool for creating wxWidgets dialogs.&lt;br /&gt;
&lt;br /&gt;
== 3rd Party Plugins ==&lt;br /&gt;
&lt;br /&gt;
3rd party plugins - developed and maintained by the community but not (yet?) in the C::B repository. The contrib plugins are maintained / developed by third-party developers.&lt;br /&gt;
&lt;br /&gt;
'''[[DisplayEvents plugin|DisplayEvents]]'''&lt;br /&gt;
&lt;br /&gt;
:Display events that are registered with &amp;lt;tt&amp;gt;RegisterEventSink&amp;lt;/tt&amp;gt;, in the Code::Blocks Debug log.&lt;br /&gt;
&lt;br /&gt;
'''[[Fortran Project plugin|Fortran Project]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin provides symbol browser and code-completion for Fortran files.&lt;br /&gt;
&lt;br /&gt;
'''[[IPDefend Toolkit plugin|IPDefend Toolkit]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin enables creation of a licensed application in an easy way. Available at [http://www.comsytec.com/ipdefend.php]&lt;br /&gt;
&lt;br /&gt;
'''[[KeyMacs plugin|KeyMacs]]'''&lt;br /&gt;
&lt;br /&gt;
:KeyMacs (or Keyboard Macros) plugin enables Recording, Playback, and editing of keystroke macros.&lt;br /&gt;
&lt;br /&gt;
'''[[OccurrenceHighlighter plugin|OccurrenceHighlighter]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin highlights all occurrences of keywords on a list.&lt;br /&gt;
&lt;br /&gt;
'''[[Python plugins|Python]]'''&lt;br /&gt;
&lt;br /&gt;
:A set of plugins that provide a user interface for debugging python programs, completion hints for python code, and a python interpreter in a dockable window. &lt;br /&gt;
&lt;br /&gt;
'''[[Rss::Blocks plugin|Rss::Blocks]]'''&lt;br /&gt;
&lt;br /&gt;
:This plugin is an rss feeds reader. Available at [http://sourceforge.net/projects/rssblocks/ sourceforge/rssblocks]&lt;br /&gt;
&lt;br /&gt;
'''[[TRACE32 Debugger plugin|TRACE32 Debugger]]'''&lt;br /&gt;
&lt;br /&gt;
:Extends the Debugger plugin of Code::Blocks to work with the TRACE32 Debuggers. TRACE32 documentation &amp;quot;int_codeblock.pdf&amp;quot; and debuggert32.cbplugin are located on the enclosed SW CD on purchase of TRACE32&lt;br /&gt;
&lt;br /&gt;
'''[[EPS Debugger for STM32 plugin|EPS Debugger for STM32]]'''&lt;br /&gt;
&lt;br /&gt;
:Developing embedded applications for STM32 with ST Link 2. Available at [http://www.comsytec.eu/epsdebugger.php]&lt;br /&gt;
&lt;br /&gt;
'''[[Vim emulator plugin|Vim Plugin]]'''&lt;br /&gt;
&lt;br /&gt;
:Emulate the Vim's shortkeys in Code::Blocks editor. Available at [https://github.com/zmj64351508/cbvike cbvike on Github]&lt;br /&gt;
&lt;br /&gt;
If you have questions -&amp;gt; ask in the [/index.php/board,14.0.html forums].&lt;br /&gt;
&lt;br /&gt;
'''[[OpenFilesListPlus Plugin]]'''&lt;br /&gt;
&lt;br /&gt;
:Enhanced version of the OpenFilesList plugin. Available at [https://github.com/earlgrey-bis/cb-OpenFilesListPlus on Github]&lt;br /&gt;
&lt;br /&gt;
'''[[SourceTrail Plugin]]'''&lt;br /&gt;
&lt;br /&gt;
:Interface to [https://www.sourcetrail.com/ on SourceTrail]. Available at [https://github.com/martim01/sourcetrail on Github]&lt;br /&gt;
&lt;br /&gt;
If you have questions -&amp;gt; ask in the [/index.php/topic,23588.0.html forums].&lt;br /&gt;
&lt;br /&gt;
'''[[cbSystemView]]'''&lt;br /&gt;
&lt;br /&gt;
:A plugin to use SVD files for embedded development. Available at [https://github.com/bluehazzard/cbSystemView on Github]&lt;br /&gt;
&lt;br /&gt;
'''[[cbMemoryView]]'''&lt;br /&gt;
&lt;br /&gt;
:A plugin to view memory locations with multiple tabs. Available at [https://github.com/bluehazzard/cbMemoryView on Github]&lt;br /&gt;
&lt;br /&gt;
'''[[cbBuildTools ]]'''&lt;br /&gt;
&lt;br /&gt;
:A little plugin that displays the targets in a tree, for easy building. Available at [https://github.com/bluehazzard/cbBuildTools on Github]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Announcement for plugins/patches|Announcement for plugins/patches]] These are not stable plugins in many cases&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9830</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9830"/>
		<updated>2024-12-10T18:35:53Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added more links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Михаил Агарков&lt;br /&gt;
&lt;br /&gt;
Email:&lt;br /&gt;
&lt;br /&gt;
* Email (clearnet): [mailto:michaelagarkov@outlook.com michaelagarkov@outlook.com]&lt;br /&gt;
* Email (I2P): [mailto:michaelagarkov@mail.i2p michaelagarkov@mail.i2p]&amp;lt;br&amp;gt;(Requires I2P)&lt;br /&gt;
&lt;br /&gt;
Net:&lt;br /&gt;
&lt;br /&gt;
* Website: https://michaelagarkov.neocities.org&lt;br /&gt;
* GitHub: https://github.com/MichaelAgarkov&lt;br /&gt;
* Codeberg: https://codeberg.org/MichaelAgarkov&lt;br /&gt;
* GitLab: https://gitlab.com/MichaelAgarkov&lt;br /&gt;
* Gitea: https://gitea.com/MichaelAgarkov&lt;br /&gt;
* I2P Git: http://git.community.i2p/MichaelAgarkov&amp;lt;br&amp;gt;(Requires I2P)&lt;br /&gt;
&lt;br /&gt;
Public keys:&lt;br /&gt;
&lt;br /&gt;
* [https://michaelagarkov.ru/MichaelAgarkov.gpg Public GPG keys]&lt;br /&gt;
* [https://michaelagarkov.ru/MichaelAgarkov.keys Public SSH key]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:CB_Clangd_Client&amp;diff=9829</id>
		<title>Talk:CB Clangd Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:CB_Clangd_Client&amp;diff=9829"/>
		<updated>2024-12-09T16:37:14Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9828</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9828"/>
		<updated>2024-11-21T16:10:53Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Removed my mirror since I'm no longer going to maintain it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
'''Official Code repository Subversion'''&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface by ViewVC: http://sourceforge.net/p/codeblocks/code/log/&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;http://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Carsten Arnholm''' (Read-only; )&lt;br /&gt;
* Web-interface: https://github.com/arnholm/codeblocks_sfmirror&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by biplab''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://cb.biplab.in/codeblocks/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface: http://cb.biplab.in/websvn/&lt;br /&gt;
* Git URL: git://cb.biplab.in/codeblocks.git&lt;br /&gt;
* Web-interface:http://cb.biplab.in/cgit/&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Jens''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: http://cgit.jenslody.de/&lt;br /&gt;
* Git URL: git://jenslody.de/git/codeblocks&lt;br /&gt;
* the above Web-interface link contains many other mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Obf''' (Read-only; refreshed manually. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: https://github.com/obfuscated/codeblocks_sf&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Articles for Code::Blocks developers.'''&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:[https://www.codeblocks.org/manual.shtml User's manual] in various formats and languages.&lt;br /&gt;
:Browse SDK documentation at http://alpha0010.github.io/cb-docs/ as html.&lt;br /&gt;
&lt;br /&gt;
* Compile the complete Code::Blocks from sources on '''[[Installing Code::Blocks from source on Windows|Windows]]''' and '''[[Installing Code::Blocks from source on Linux|Linux]]'''&lt;br /&gt;
&lt;br /&gt;
* '''[[Compile Code::Blocks plugins based on a nightly]]''' without the need to compile wxWidgets or the Code::Blocks core.&lt;br /&gt;
&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Old Translation page]'''&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks-gd/ New Translation page]'''&lt;br /&gt;
:See also [https://forums.codeblocks.org/index.php/topic,1022.msg159075.html#msg159075 Code::Blocks' translation]&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''[[Version control]]'''&lt;br /&gt;
:Tips and trick for working with our version control system.&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Plugin structure of C::B]]&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Linking the plugin to a Nightly Build]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
* [[Code::Completion Rewrite]] and [[Code Completion plugin]] and [[Code Completion Design]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;br /&gt;
&lt;br /&gt;
== Developing C::B with Git ==&lt;br /&gt;
For devs who want to use Git to develop C::B, here are some steps to follow, especially you need to correctly set the SVN and GIT properties so that you can make your local git commits back to the official SVN repo. See [https://forums.codeblocks.org/index.php/topic,16096.msg128152.html#msg128152 Re: Read-only Git, SVN Repo for Code::Blocks], also stahta01 has a nice instruction about how to use git, see [https://forums.codeblocks.org/index.php/topic,19533.msg133422.html#msg133422 Development How to use a Code::Blocks Git Repo].&lt;br /&gt;
&lt;br /&gt;
If you want to create a SVN style patch from git, see: [https://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530 This forum post].&lt;br /&gt;
&lt;br /&gt;
It's possible to build Code::Blocks through GitHub Actions, see [https://wiki.codeblocks.org/index.php/Building_Code::Blocks_through_GitHub_Actions Building Code::Blocks through GitHub Actions].&lt;br /&gt;
&lt;br /&gt;
== Debugging C::B ==&lt;br /&gt;
&lt;br /&gt;
* When C::B crashes, it will generate a call-stack file &amp;quot;codeblocks.RPT&amp;quot;, at the crash point (see [[FAQ-Compiling_(general)#Q: How do I report a compilation problem on the forums?|this]] for more information). This is a text file that you can open; if your C::B contains the debug information, it will have file and line information about each call. If your C::B is a stripped version, but you have the debug version of C::B, you can try to run the [https://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is an address2line UI interface that works under Windows.&lt;br /&gt;
* You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [https://forums.codeblocks.org/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9827</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9827"/>
		<updated>2024-11-20T20:02:03Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added my mirror of Code::Blocks to the list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
'''Official Code repository Subversion'''&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface by ViewVC: http://sourceforge.net/p/codeblocks/code/log/&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;http://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Carsten Arnholm''' (Read-only; )&lt;br /&gt;
* Web-interface: https://github.com/arnholm/codeblocks_sfmirror&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Michael Agarkov''' (Read-only)&lt;br /&gt;
* Web-interface: https://michaelagarkov.ru/MichaelAgarkov/codeblocks&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by biplab''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://cb.biplab.in/codeblocks/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface: http://cb.biplab.in/websvn/&lt;br /&gt;
* Git URL: git://cb.biplab.in/codeblocks.git&lt;br /&gt;
* Web-interface:http://cb.biplab.in/cgit/&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Jens''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: http://cgit.jenslody.de/&lt;br /&gt;
* Git URL: git://jenslody.de/git/codeblocks&lt;br /&gt;
* the above Web-interface link contains many other mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Obf''' (Read-only; refreshed manually. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: https://github.com/obfuscated/codeblocks_sf&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Articles for Code::Blocks developers.'''&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:[https://www.codeblocks.org/manual.shtml User's manual] in various formats and languages.&lt;br /&gt;
:Browse SDK documentation at http://alpha0010.github.io/cb-docs/ as html.&lt;br /&gt;
&lt;br /&gt;
* Compile the complete Code::Blocks from sources on '''[[Installing Code::Blocks from source on Windows|Windows]]''' and '''[[Installing Code::Blocks from source on Linux|Linux]]'''&lt;br /&gt;
&lt;br /&gt;
* '''[[Compile Code::Blocks plugins based on a nightly]]''' without the need to compile wxWidgets or the Code::Blocks core.&lt;br /&gt;
&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Old Translation page]'''&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks-gd/ New Translation page]'''&lt;br /&gt;
:See also [https://forums.codeblocks.org/index.php/topic,1022.msg159075.html#msg159075 Code::Blocks' translation]&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''[[Version control]]'''&lt;br /&gt;
:Tips and trick for working with our version control system.&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Plugin structure of C::B]]&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Linking the plugin to a Nightly Build]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
* [[Code::Completion Rewrite]] and [[Code Completion plugin]] and [[Code Completion Design]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;br /&gt;
&lt;br /&gt;
== Developing C::B with Git ==&lt;br /&gt;
For devs who want to use Git to develop C::B, here are some steps to follow, especially you need to correctly set the SVN and GIT properties so that you can make your local git commits back to the official SVN repo. See [https://forums.codeblocks.org/index.php/topic,16096.msg128152.html#msg128152 Re: Read-only Git, SVN Repo for Code::Blocks], also stahta01 has a nice instruction about how to use git, see [https://forums.codeblocks.org/index.php/topic,19533.msg133422.html#msg133422 Development How to use a Code::Blocks Git Repo].&lt;br /&gt;
&lt;br /&gt;
If you want to create a SVN style patch from git, see: [https://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530 This forum post].&lt;br /&gt;
&lt;br /&gt;
It's possible to build Code::Blocks through GitHub Actions, see [https://wiki.codeblocks.org/index.php/Building_Code::Blocks_through_GitHub_Actions Building Code::Blocks through GitHub Actions].&lt;br /&gt;
&lt;br /&gt;
== Debugging C::B ==&lt;br /&gt;
&lt;br /&gt;
* When C::B crashes, it will generate a call-stack file &amp;quot;codeblocks.RPT&amp;quot;, at the crash point (see [[FAQ-Compiling_(general)#Q: How do I report a compilation problem on the forums?|this]] for more information). This is a text file that you can open; if your C::B contains the debug information, it will have file and line information about each call. If your C::B is a stripped version, but you have the debug version of C::B, you can try to run the [https://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is an address2line UI interface that works under Windows.&lt;br /&gt;
* You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [https://forums.codeblocks.org/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9826</id>
		<title>FAQ-General</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9826"/>
		<updated>2024-11-19T15:26:11Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added mention of the 24.12 branch.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Q: What is Code::Blocks? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).&lt;br /&gt;
&lt;br /&gt;
==== Q: What Code::Blocks is not? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided &amp;quot;as-is&amp;quot; and not developed/maintained by the Code::Blocks development team.&lt;br /&gt;
&lt;br /&gt;
==== Q: What license is Code::Blocks released under? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.&lt;br /&gt;
&lt;br /&gt;
==== Q: When will the next stable version of Code::Blocks be released? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' The [https://sourceforge.net/p/codeblocks/code/HEAD/tree/branches/release-24.12/ 24.12] branch was made in the SVN repo (Meaning December 2024).&lt;br /&gt;
&lt;br /&gt;
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Yes, this is implemented, but you'll need the [[help plugin]]. So if you are using the installer, make sure you enable this plugin.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9824</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=9824"/>
		<updated>2024-11-06T16:02:29Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added link to &amp;quot;Building Code::Blocks through GitHub Actions&amp;quot; article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
'''Official Code repository Subversion'''&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface by ViewVC: http://sourceforge.net/p/codeblocks/code/log/&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;http://svn.code.sf.net/p/codeblocks/code/trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Carsten Arnholm''' (Read-only; )&lt;br /&gt;
* Web-interface: https://github.com/arnholm/codeblocks_sfmirror&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
&lt;br /&gt;
'''Mirror by biplab''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Subversion URL: &amp;lt;nowiki&amp;gt;svn://cb.biplab.in/codeblocks/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Web-interface: http://cb.biplab.in/websvn/&lt;br /&gt;
* Git URL: git://cb.biplab.in/codeblocks.git&lt;br /&gt;
* Web-interface:http://cb.biplab.in/cgit/&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Jens''' (Read-only; refreshed every 10 minutes. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: http://cgit.jenslody.de/&lt;br /&gt;
* Git URL: git://jenslody.de/git/codeblocks&lt;br /&gt;
* the above Web-interface link contains many other mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github&lt;br /&gt;
&lt;br /&gt;
'''Mirror by Obf''' (Read-only; refreshed manually. As 2022-09-12, it looks dead.)&lt;br /&gt;
* Web-interface: https://github.com/obfuscated/codeblocks_sf&lt;br /&gt;
* Git URL: see the above page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Articles for Code::Blocks developers.'''&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:[https://www.codeblocks.org/manual.shtml User's manual] in various formats and languages.&lt;br /&gt;
:Browse SDK documentation at http://alpha0010.github.io/cb-docs/ as html.&lt;br /&gt;
&lt;br /&gt;
* Compile the complete Code::Blocks from sources on '''[[Installing Code::Blocks from source on Windows|Windows]]''' and '''[[Installing Code::Blocks from source on Linux|Linux]]'''&lt;br /&gt;
&lt;br /&gt;
* '''[[Compile Code::Blocks plugins based on a nightly]]''' without the need to compile wxWidgets or the Code::Blocks core.&lt;br /&gt;
&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Old Translation page]'''&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks-gd/ New Translation page]'''&lt;br /&gt;
:See also [https://forums.codeblocks.org/index.php/topic,1022.msg159075.html#msg159075 Code::Blocks' translation]&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''[[Version control]]'''&lt;br /&gt;
:Tips and trick for working with our version control system.&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Plugin structure of C::B]]&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Linking the plugin to a Nightly Build]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
* [[Code::Completion Rewrite]] and [[Code Completion plugin]] and [[Code Completion Design]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;br /&gt;
&lt;br /&gt;
== Developing C::B with Git ==&lt;br /&gt;
For devs who want to use Git to develop C::B, here are some steps to follow, especially you need to correctly set the SVN and GIT properties so that you can make your local git commits back to the official SVN repo. See [https://forums.codeblocks.org/index.php/topic,16096.msg128152.html#msg128152 Re: Read-only Git, SVN Repo for Code::Blocks], also stahta01 has a nice instruction about how to use git, see [https://forums.codeblocks.org/index.php/topic,19533.msg133422.html#msg133422 Development How to use a Code::Blocks Git Repo].&lt;br /&gt;
&lt;br /&gt;
If you want to create a SVN style patch from git, see: [https://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530 This forum post].&lt;br /&gt;
&lt;br /&gt;
It's possible to build Code::Blocks through GitHub Actions, see [https://wiki.codeblocks.org/index.php/Building_Code::Blocks_through_GitHub_Actions Building Code::Blocks through GitHub Actions].&lt;br /&gt;
&lt;br /&gt;
== Debugging C::B ==&lt;br /&gt;
&lt;br /&gt;
* When C::B crashes, it will generate a call-stack file &amp;quot;codeblocks.RPT&amp;quot;, at the crash point (see [[FAQ-Compiling_(general)#Q: How do I report a compilation problem on the forums?|this]] for more information). This is a text file that you can open; if your C::B contains the debug information, it will have file and line information about each call. If your C::B is a stripped version, but you have the debug version of C::B, you can try to run the [https://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is an address2line UI interface that works under Windows.&lt;br /&gt;
* You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [https://forums.codeblocks.org/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Building_Code::Blocks_through_GitHub_Actions&amp;diff=9823</id>
		<title>Talk:Building Code::Blocks through GitHub Actions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Building_Code::Blocks_through_GitHub_Actions&amp;diff=9823"/>
		<updated>2024-11-06T15:26:28Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Building_Code::Blocks_through_GitHub_Actions&amp;diff=9822</id>
		<title>Building Code::Blocks through GitHub Actions</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Building_Code::Blocks_through_GitHub_Actions&amp;diff=9822"/>
		<updated>2024-11-06T15:13:00Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Create page for building Code::Blocks through GitHub Actions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Progress is currently being made on creating a build script for compiling Code::Blocks in GitHub Actions with MSYS2: [https://github.com/zxunge/x86-codeblocks-builds zxunge/x86-codeblocks-builds]&lt;br /&gt;
&lt;br /&gt;
Also see: [https://github.com/zxunge/winstyle-codeblocks-bins zxunge/winstyle-codeblocks-bins]&lt;br /&gt;
----An attempt to rewrite the build script for Woodpecker CI is being made here: [https://codeberg.org/MichaelAgarkov/x86-codeblocks-builds MichaelAgarkov/x86-codeblocks-builds]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Feature_List&amp;diff=9817</id>
		<title>Feature List</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Feature_List&amp;diff=9817"/>
		<updated>2024-10-12T20:57:07Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Listed Clangd LSP support as a feature&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: User Documentation]]&lt;br /&gt;
==Highlights==&lt;br /&gt;
* '''Open Source!''' GPLv3, no hidden costs.&lt;br /&gt;
* '''Cross-platform.''' Runs on Linux, Mac, Windows (uses wxWidgets).&lt;br /&gt;
* Written in C++. No interpreted languages or proprietary libs needed.&lt;br /&gt;
* Extensible through [[Code::Blocks Plugins|plugins]]&lt;br /&gt;
&lt;br /&gt;
==Compiler==&lt;br /&gt;
* '''Multiple compiler support:'''&lt;br /&gt;
** [[Installing a supported compiler#Downloading the GNU GCC compiler .26 GDB debugger|GNU GCC]] ([[Fortran support in Code::Blocks|incl. GFortran]]) (Linux)&lt;br /&gt;
** [[Installing a supported compiler#MinGW.2FGCC|MinGW GCC]] ([[Fortran support in Code::Blocks|incl. GFortran]]) (Win32)&lt;br /&gt;
** MSP430 GCC (Win32)&lt;br /&gt;
** TriCore GCC (Win32, Linux)&lt;br /&gt;
** PowerPC GCC (Win32, Linux)&lt;br /&gt;
** [[Installing a supported compiler#Downloading the GNU GCC compiler .26 GDB debugger 2|Apple GCC (Xcode)]] (Mac OS X)&lt;br /&gt;
** [[Integrating Microsoft Visual Toolkit 2003 with Code::Blocks IDE|Microsoft Visual C++ Toolkit 2003]] (Win32)&lt;br /&gt;
** [[Installing a supported compiler#Microsoft Visual C.2B.2B|Microsoft Visual C++ 2005]] (Win32)&lt;br /&gt;
** [[Installing a supported compiler#Borland C.2B.2B Compiler 5.5|Borland's C++ Compiler 5.5]] (Win32)&lt;br /&gt;
** [[Installing a supported compiler#Digital Mars C.2FC.2B.2B Free Compiler|DigitalMars C/C++]] (Win32)&lt;br /&gt;
** [[Using Code::Blocks with Open Watcom|Open Watcom]] (Win32)&lt;br /&gt;
** [[Installing a supported compiler#Intel C.2B.2B Compiler|Intel C++ compiler]] (Win32)&lt;br /&gt;
** [[Using the Code::Blocks IDE with SDCC on PIC MCUs|Small Device C Compiler (SDCC)]]&lt;br /&gt;
** [[Installing Cygwin Compiler|Cygwin]] (Win32)&lt;br /&gt;
** [[Installing Objective-C Compiler|GNU GCC Objective-C]]&lt;br /&gt;
** [[Installing a supported compiler#Digital Mars D Compiler for Windows|Digital Mars D]]&lt;br /&gt;
** GDC D Compiler&lt;br /&gt;
** LLVM D Compiler &lt;br /&gt;
* '''Very fast''' custom build system (no makefiles needed)&lt;br /&gt;
* Support for '''parallel builds''' (utilizing your CPU's extra cores)&lt;br /&gt;
* [[Creating a new project#Adding a new build target|Multi-target]] projects&lt;br /&gt;
* Workspaces to combine multiple projects&lt;br /&gt;
* [[The build process of Code::Blocks#Using project dependencies|Inter-project dependencies]] inside workspace&lt;br /&gt;
* [[Integrating Microsoft Visual C 6 with Code::Blocks IDE#Working with &amp;quot;legacy&amp;quot; MSVC6 workspaces/projects|Imports MSVC projects and workspaces]] (NOTE: assembly code not supported yet)&lt;br /&gt;
* Imports Dev-C++ projects&lt;br /&gt;
* [[CB Clangd Client|Clangd LSP support]]&lt;br /&gt;
&lt;br /&gt;
==Debugger==&lt;br /&gt;
* Interfaces [[Debugging with Code::Blocks|GNU GDB]]&lt;br /&gt;
* Also supports MS CDB (not fully featured)&lt;br /&gt;
* '''Full breakpoints support:'''&lt;br /&gt;
** Code breakpoints&lt;br /&gt;
** Data breakpoints (read, write and read/write)&lt;br /&gt;
** Breakpoint conditions (break only when an expression is true)&lt;br /&gt;
** Breakpoint ignore counts (break only after certain number of hits)&lt;br /&gt;
* Display local function symbols and arguments&lt;br /&gt;
* User-defined watches (support for watching user-defined types through scripting)&lt;br /&gt;
* Call stack&lt;br /&gt;
* Disassembly&lt;br /&gt;
* Custom memory dump&lt;br /&gt;
* Switch between threads&lt;br /&gt;
* View CPU registers&lt;br /&gt;
&lt;br /&gt;
==Interface==&lt;br /&gt;
* [[Languages supported by Code::Blocks lexers|Syntax highlighting]], customizable and [[Creating a custom lexer for Code::Blocks editor|extensible]]&lt;br /&gt;
* Code folding for C++, Fortran, Python, XML, and multiple other languages&lt;br /&gt;
* Tabbed interface&lt;br /&gt;
* [[Code Completion plugin|Code completion]]&lt;br /&gt;
* Class Browser&lt;br /&gt;
* Smart indent&lt;br /&gt;
* [[Keyboard Shortcuts#Editor|One-key swap]] between .h and .c/.cpp files&lt;br /&gt;
* Custom [[Keyboard Shortcuts plugin|keyboard shortcuts]]&lt;br /&gt;
* Open files list for quick switching between files (optional)&lt;br /&gt;
* [[Tools+ reference|External customizable &amp;quot;Tools&amp;quot;]]&lt;br /&gt;
* [[To-Do List plugin|To-do list]] management with different users&lt;br /&gt;
&lt;br /&gt;
==Plugins==&lt;br /&gt;
* Fully customizable through [[Code::Blocks Plugins|plugins]]&lt;br /&gt;
* Automatically [[Source Code Formatter plugin|format source code]] to the desired style&lt;br /&gt;
* [[SpellChecker plugin|Spell-check]] on strings and comments ([[Nightly Cookbook|svn]] only)&lt;br /&gt;
* [[WxSmith tutorials|Rapid application development tool]] for [[Using wxWidgets|wxWidgets]] based GUIs&lt;br /&gt;
* [[NassiShneiderman plugin|Nassi–Shneiderman]] diagramming&lt;br /&gt;
* Integrated [[HexEditor plugin|hex editor]]&lt;br /&gt;
* And much more...&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9816</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Main_Page&amp;diff=9816"/>
		<updated>2024-10-12T18:33:34Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fix link to Borland's C++ Compiler 5.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOEDITSECTION__ __NOTOC__&lt;br /&gt;
{{Layout_box1|1=&lt;br /&gt;
[[Image:cb_splash.png|left]]&lt;br /&gt;
'''Welcome to the official Wiki for Code::Blocks'''&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.codeblocks.org Code::Blocks] is a free, open-source, cross-platform [[wikipedia:Integrated Development Environment|IDE]]. Using a plugin architecture, its capabilities and features are defined by the provided plugins.&amp;lt;br&amp;gt;&lt;br /&gt;
Currently, [https://www.codeblocks.org Code::Blocks] is oriented towards C/C++/Fortran.&lt;br /&gt;
The Code::Blocks team does not take responsibility for the content nor accuracy of these pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Wiki Editors: In order to edit pages, you must create an account on the [https://forums.codeblocks.org/ forums] and authenticate there. Read the [[Help:Contents|Help]] for editing guidelines. Look in the [[CodeBlocks:Community_Portal|community portal]] for things to do.&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;br clear=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; background-color=&amp;quot;transparent&amp;quot; &lt;br /&gt;
|width=&amp;quot;60%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- LEFT --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Did you know that using Layout_box2 here instead of &amp;lt;div&amp;gt; breaks the inner table? Strange... --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #dfeefb; border: 1px dotted #010101; margin: 5px; padding: 5px;&amp;quot;&amp;gt;&lt;br /&gt;
{|align=&amp;quot;center&amp;quot; style=&amp;quot;background:transparent&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
=== How do I... ===&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_Code::Blocks|...install Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_the_latest_official_version_of_Code::Blocks_on_Windows|Windows]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Ubuntu|Ubuntu]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Mac_OS_X|Mac OS X]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks#Fedora|Fedora]] &amp;amp;middot;&lt;br /&gt;
[[Installing_Code::Blocks|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Installing_a_supported_compiler|...set up a compiler in Code::Blocks?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Installing_a_supported_compiler#MinGW.2FGCC|MinGW]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler#Microsoft_Visual_C.2B.2B|MS Visual C++]] &amp;amp;middot;&lt;br /&gt;
[[Installing_a_supported_compiler|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Creating a new project|...create a new project?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Creating a new project#Changing file composition|Add files]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Modifying build options|Build options]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project#Virtual Targets|Virtual Targets]] &amp;amp;middot;&lt;br /&gt;
[[Creating a new project|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[Debugging_with_Code::Blocks|...debug my program?]]'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[FAQ-Settings#Q: How do I make Code::Blocks portable?|...make Code::Blocks portable?]]'''&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
'''[[User_documentation#Third-party_libraries|...use a 3rd-party library?]]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;&lt;br /&gt;
[[Using_wxWidgets|wxWidgets]] &amp;amp;middot;&lt;br /&gt;
[[Using_Boost|Boost]] &amp;amp;middot;&lt;br /&gt;
[[Using_SDL_with_Code::Blocks|SDL]] &amp;amp;middot;&lt;br /&gt;
[[User_documentation#Third-party_libraries|more...]]&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:.9em&amp;quot;&amp;gt;''Main article: [[Code::Blocks Documentation]]''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[User documentation]] ===&lt;br /&gt;
:Articles for Code::Blocks users&lt;br /&gt;
&lt;br /&gt;
=== [[FAQ]] ===&lt;br /&gt;
:Frequently Asked Questions&lt;br /&gt;
&lt;br /&gt;
=== [[Feature List]] ===&lt;br /&gt;
:An index of Code::Blocks' useful features&lt;br /&gt;
&lt;br /&gt;
=== [[Code::Blocks Plugins]] ===&lt;br /&gt;
:Plugins extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
=== [[Off-site documentation]] ===&lt;br /&gt;
:Links to external documentation&lt;br /&gt;
&lt;br /&gt;
=== [[Developer documentation]] ===&lt;br /&gt;
:Articles for developers of Code::Blocks itself&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;40%&amp;quot; valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&amp;lt;!-- RIGHT --&amp;gt;&lt;br /&gt;
{{Layout_box4|1=&lt;br /&gt;
=== Download Code::Blocks ===&lt;br /&gt;
* Latest official release: [https://www.codeblocks.org/downloads/binaries 20.03]&lt;br /&gt;
* Nightly builds: [https://forums.codeblocks.org/index.php/board,20.0.html Forum board]&lt;br /&gt;
* Source code: [https://www.codeblocks.org/downloads/source 20.03], [https://www.codeblocks.org/downloads/svn current trunk]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Other resources ===&lt;br /&gt;
* [https://www.codeblocks.org Main website]&lt;br /&gt;
* [https://forums.codeblocks.org/ Community forums]&lt;br /&gt;
* [irc://irc.freenode.net/codeblocks IRC channel] and [http://webchat.freenode.net/?channels=codeblocks IRC channel web access]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box2|1=&lt;br /&gt;
=== Development ===&lt;br /&gt;
[[Image:Chk.png]][[Roadmap]] &lt;br /&gt;
* [[Developer documentation]]&lt;br /&gt;
* [http://sourceforge.net/projects/codeblocks/ Project page at Sourceforge]&lt;br /&gt;
* '''Bugs''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3ABug_Report+or+_type%3AUndefined bugs] or browse [http://alpha0010.github.io/cb-history/bugs.html old bugs]&lt;br /&gt;
* '''Features''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3AFeature_Request+or+_type%3AUndefined features] or browse [http://alpha0010.github.io/cb-history/features.html old features]&lt;br /&gt;
* '''Patches''': browse or submit [http://sourceforge.net/p/codeblocks/tickets/search/?q=_type%3APatch+or+_type%3AUndefined patches] or browse [http://alpha0010.github.io/cb-history/patches.html old patches]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Layout_box3|1=&lt;br /&gt;
=== Supported compilers ===&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC (incl. G77)] (Linux)&lt;br /&gt;
* [https://www.mingw-w64.org/ MinGW-w64] (Win)&lt;br /&gt;
* [https://github.com/jmeubank/tdm-gcc/ TDM GCC] (Win)&lt;br /&gt;
* [https://www.msys2.org/ MSYS2] (Win)&lt;br /&gt;
* [https://www.cygwin.com/ Cygwin] (Win)&lt;br /&gt;
* [https://winlibs.com/ WinLibs GCC] (Win)&lt;br /&gt;
* [https://osdn.net/projects/mingw/ MinGW GCC (incl. G77)] (Win32)&lt;br /&gt;
* [http://mspgcc.sourceforge.net MSP430 GCC] (Win32)&lt;br /&gt;
* [http://www.hightec-rt.com TriCore and PowerPC GCC] (Win32, Linux)&lt;br /&gt;
* [https://developer.apple.com/xcode/ Apple XCode (GCC)] (Mac OS X)&lt;br /&gt;
&amp;lt;!-- Tested and working with Microsoft PSDK for Windows 2003 R2 and CodeBlocks b3577 --&amp;gt;&lt;br /&gt;
* [http://xona.com/2004/06/29.html Microsoft Visual C++ Toolkit 2003] (Win32)&lt;br /&gt;
* [https://visualstudio.microsoft.com/vs/community/ Microsoft Visual Community Edition] (Win)&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C++ Compiler 5.5] (Win32)&lt;br /&gt;
* [http://www.digitalmars.com/ DigitalMars C/C++] (Win32)&lt;br /&gt;
* [https://github.com/open-watcom/open-watcom-v2 OpenWatcom V2] (Win32)&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers Intel C++ compiler] (Win32)&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
* [http://dlang.org/ Digital Mars D] (Win32, Linux, Mac OS X)&lt;br /&gt;
* [https://gdcproject.org/ GDC D Compiler] (Linux)&lt;br /&gt;
* [https://github.com/ldc-developers/ldc/ LLVM D Compiler] (Win32, Linux, Mac OS X)&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[https://www.codeblocks.org/about.shtml The Code::Blocks team]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Special:Allpages|Index]]&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9815</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9815"/>
		<updated>2024-10-12T18:28:57Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fix another link to MinGW&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers. Once this scan has finished, Code::Blocks will have been correctly configured for any detected compilers. Code::Blocks will also have default configurations even for compilers that were not found.&lt;br /&gt;
&lt;br /&gt;
This article is a guide for obtaining, installing, and configuring the various compilers that Code::Blocks can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Before using a compiler with Code::Blocks you have to install it. The method for installing the compiler depends on the Operating system you're using, the Compiler you intend to use and so on.&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure (if the compiler is natively supported by Code::Blocks). Launch Code::Blocks and you're all set :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
* If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
* If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
* If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Once you've installed a new compiler, be sure to read the Compiler-neutral setup steps at the end of this article.&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Windows:&lt;br /&gt;
* [https://osdn.net/projects/mingw/ MinGW GCC C/C++ Free Compiler, including GFortran]&lt;br /&gt;
** [http://www.cygwin.org Cygwin GCC C/C++ Free Compiler]&lt;br /&gt;
*** [[#HOWTO: Use Cygwin 1.7 with Code::Blocks|HOWTO: Use Cygwin 1.7 with Code::Blocks]]&lt;br /&gt;
* [http://www.ti.com/tool/msp430-gcc-opensource MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html PowerPC GCC C/C++]&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-windows.html Digital Mars D Compiler for Windows]&lt;br /&gt;
These compilers are generally still under active development by their publishers, so a new version of their software could be released that is incompatible with the current version of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
The following compilers are still supported by Code::Blocks, but are no longer available from their original publishers.&lt;br /&gt;
* Microsoft's Visual C++ 2003 - 2010&lt;br /&gt;
&lt;br /&gt;
The following publishers have released newer versions of their compilers which should be tested against the current configuration.  In other words, it is not known yet whether these compilers still work with Code::Blocks.&lt;br /&gt;
&amp;lt;!-- * [https://www.embarcadero.com/free-tools/ccompiler Embarcadero's (formerly Borland) C/C++ Free Compiler] --&amp;gt;&lt;br /&gt;
* [http://www.openwatcom.org/download.php OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers/ipsxe Intel C/C++ Compiler] &amp;lt;!-- Does somebody have this one? I do not quality for the free version and do not need to pay for yet another C-compiler on my machine. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is now [https://osdn.net/projects/mingw/ here]. A MinGW-bundled version of the latest Code::Blocks release is available from the [https://www.codeblocks.org/downloads/5#windows Code::Blocks download page]. If you install this version, the GCC compiler will be automatically detected and set as the default. Also you can use the TDM's GCC/mingw32 Builds from [https://forums.codeblocks.org/index.php/topic,10508.0.html] or [https://jmeubank.github.io/tdm-gcc/].&lt;br /&gt;
&lt;br /&gt;
'''Note''': In any case, if you don't install MinGW in C:\MinGW, you'll need to update the configuration of GCC in Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
==== Official MinGW ====&lt;br /&gt;
You can install '''MinGW''' yourself, by using an automatic downloader/installer or by downloading and unpacking the required packages by hand from [https://osdn.net/projects/mingw/ OSDN], if needed, here is the [https://sourceforge.net/projects/mingw/ old sourceforge repository].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC:&lt;br /&gt;
&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-build-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-core-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-g++-3.4.5-20060117-3.tar.gz&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
&lt;br /&gt;
==== HOWTO: Use Cygwin 1.7 with Code::Blocks ====&lt;br /&gt;
Cygwin 1.7 changed the way symlinks were created and handled when invoked from a command prompt. I couldn't find a way to force CB to use a unix-link shell, but was able to find a work around when perusing the Cygwin mailing lists.&lt;br /&gt;
&lt;br /&gt;
The symptom would show up with a message similar to the one below:&lt;br /&gt;
&lt;br /&gt;
  Execution of 'g++.exe -Wall -fexceptions  -g     -c c:/dev/code/cb1/main.cpp -o obj/Debug/main.o' in 'c:\dev\code\cb1' failed.&lt;br /&gt;
&lt;br /&gt;
Executing the same command from the CMD.EXE prompt yields an &amp;quot;Access is denied&amp;quot; message. This was how I was able to track down why the issue occurred. For more info, see this cygwin mailing list thread: http://www.mail-archive.com/cygwin@cygwin.com/msg104088.html&lt;br /&gt;
&lt;br /&gt;
'''Solution'''&lt;br /&gt;
&lt;br /&gt;
The solution is to point your compiler and linker directly to the version of gcc and g++ that you want to use.&lt;br /&gt;
&lt;br /&gt;
In my case, I wanted to use gcc-4.exe and g++-4.exe and so, I went into Settings-&amp;gt;Compiler and Debugger-&amp;gt;Toolchain executables. There I changed the &amp;quot;C Complier&amp;quot;, &amp;quot;C++ Compiler&amp;quot; and &amp;quot;Linker for dynamic libs&amp;quot; to point to gcc-4.exe, g++-4.exe and g++-4.exe.&lt;br /&gt;
&lt;br /&gt;
After this, compilation and linking worked fine.&lt;br /&gt;
&lt;br /&gt;
It would also be a good idea to add an environment variable CYGWIN with a value of nodosfilewarning in Settings-&amp;gt;Environment-&amp;gt;Environment Variables. This eliminates the following (harmless) warning message:&lt;br /&gt;
&lt;br /&gt;
  MS-DOS style path detected: c:/&lt;br /&gt;
    Preferred POSIX equivalent is: /c&lt;br /&gt;
    CYGWIN environment variable option &amp;quot;nodosfilewarning&amp;quot; turns off this warning.&lt;br /&gt;
    Consult the user's guide for more details about POSIX paths:&lt;br /&gt;
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames&lt;br /&gt;
&lt;br /&gt;
See also: [[Installing Cygwin Compiler]]&lt;br /&gt;
&lt;br /&gt;
==== (Unofficial) TDM - &amp;quot;Twilight Dragon Media&amp;quot; ====&lt;br /&gt;
These packages are called '''TDM's GCC/mingw32 Builds''' and can be obtained from [https://jmeubank.github.io/tdm-gcc/ here].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.1-tdm-2 SJLJ:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; 4.4.1-tdm-2 SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.1-tdm-2-core.zip&lt;br /&gt;
** gcc-4.4.1-tdm-2-g++.zip&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326-3.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
These packages are included in both the Bundled Installer and the On-Demand Installer available via TDMs [https://jmeubank.github.io/tdm-gcc/download/ download page].&lt;br /&gt;
&lt;br /&gt;
=== Embarcadero C++ Compiler BCC32C ===&lt;br /&gt;
Formerly Borland's C++ Compiler, this compiler is now published by Embarcadero, with active on-going development; the current version is 10.1 as of this writing.  Go to [https://www.embarcadero.com/free-tools/ccompiler their product download page] to download.  You will be asked to enter some registration information (registration is free) then the download will begin.  You will receive a ZIP archive which contains installation instructions in a text file in the root directory of the archive; it does not have an installer program.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Intel C++ Compiler ===&lt;br /&gt;
Please note that on Windows platform, Intel C/C++ compiler requires ''Microsoft Visual C++[http://www.microsoft.com/express/download/offline.aspx]'' to be present in your system in order to function properly. It will not compile any C++ program without it. You should also note that ''Windows SDK[http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en]'' shall be installed in order to compile Windows app.&lt;br /&gt;
&lt;br /&gt;
Code::Blocks (C::B) is now able to detect (from svn revision 4967 onwards) Intel C/C++ compiler and it'll then automatically setup the MSVC compiler so that the Intel compiler works as intended. However if you wish to manually install the Intel C/C++ compiler, then follow the following steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''Settings &amp;gt; Compilers and debuggers''' and then select '''Intel C/C++ compiler'''.&lt;br /&gt;
* Click on the '''Toolchain executables''' tab. Point to the installation directory, e.g. &amp;lt;tt&amp;gt;C:\Program Files\Intel\Compiler\C++\10.1.020\IA32&amp;lt;/tt&amp;gt; , inside the ''Compiler's installation directory'' textbox.&lt;br /&gt;
* Click on the '''Additional Paths''' tab and fill in the directories pointing to MSVC bin directory and the Windows SDK directory. It may look like-&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\bin&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\bin&lt;br /&gt;
* Click on the '''Search directories''' tab and add the include directories containing headers offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK headers to '''Compiler''' and '''Resource compiler'''. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\include&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\include&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include&lt;br /&gt;
* Click on the '''Linker''' tab under '''Search directories''' tab and add the directories containing libraries offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\lib&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\lib&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button to save the settings. Now you should be able to use Intel C/C++ compilers on Windows with C::B.&lt;br /&gt;
&lt;br /&gt;
Note: The directories specified above may be different on your PC.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars D Compiler for Windows ===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit Windows, and in future it will support 64bit Windows.&lt;br /&gt;
If you want to build D program in CodeBlocks on 32bit Windows, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Windows system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Windows http://www.digitalmars.com/d/2.0/dmd-windows.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here: https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''&lt;br /&gt;
&lt;br /&gt;
    2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field;&lt;br /&gt;
    2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib\phobos.lib'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;;&lt;br /&gt;
    2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\src\phobos'''&amp;quot; into the field;&lt;br /&gt;
    2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib'''&amp;quot; into the field;&lt;br /&gt;
    2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''D:\Program\DMD2\windows'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed;&lt;br /&gt;
          (if you installed DMD2 correctly acc. to Installation setp, just click 'Auto-detect' button.)&lt;br /&gt;
    2.7). Additional: If you wan to specify the DMC (Digital Mars C/C++ Compiler) you can do like this:&lt;br /&gt;
          click &amp;quot;Toolchain executables -&amp;gt; Additional Paths&amp;quot;, and add &amp;quot;D:\Program\DMC\bin&amp;quot; into the field.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;D:\Program\DMD2&amp;quot; or &amp;quot;D:\Program\DMC\bin&amp;quot; here should change to your own DMD or DMC path in your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Linux:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-linux.html Digital Mars D Compiler for Linux]&lt;br /&gt;
&lt;br /&gt;
===Digital Mars D Compiler for Linux===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit and 64bit Linux, and 'support Linux library' is under construction. If you want to build D program in CodeBlocks on 32bit and 64bit Linux, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Linux system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Linux http://www.digitalmars.com/d/2.0/dmd-linux.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here:&lt;br /&gt;
https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
A). 32bit Linux &amp;amp; 32bit DMD2.&lt;br /&gt;
&lt;br /&gt;
On 32bit Linux, you should combine 32bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    A.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    A.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field.&lt;br /&gt;
    A.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    A.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    A.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    A.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    A.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B1). 64bit Linux &amp;amp; '''64bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 64bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B1.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B1.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m64'''  into the field.&lt;br /&gt;
    B1.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B1.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B1.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64'''&amp;quot; into the field. &lt;br /&gt;
    B1.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B1.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m64 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B2). 64bit Linux with '''32bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 32bit DMD2 with 64bit together from DMD2 source and install them into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add '''-m32''' into the field.&lt;br /&gt;
    B2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    B2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B2.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install a ''compatible'' version Xcode Tools from http://developer.apple.com/tools/ (or http://developer.apple.com/downloads). You need the &amp;quot;Command Line Tools&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
=== Setting up compiler switches ===&lt;br /&gt;
&lt;br /&gt;
Usually you need to tweak the compiler options to be able to compile C++ applications - that's the stuff Xcode hides from your eyes, but you better should know. You need to point to the GNU compiler's C/C++ include folders, to the GNU linkers libraries folder and a adjust the compiler options to setup the GNU compiler root path. Those path's differ depending on what hardware (processor architecture) and what version of MacOS is used. For an Intel based Mac with MacOS 10.6.2 and Xcode v3.2.2 the following should work:&lt;br /&gt;
&lt;br /&gt;
Compiler search directories (&amp;quot;include&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linker search directories (&amp;quot;library&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional compiler flags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Compilation ==&lt;br /&gt;
Remote compilation is not directly supported by Code::Blocks, however, the following articles explain two remote compilation systems, which use 3rd party programs to provide this functionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;br /&gt;
&lt;br /&gt;
== Misc. Custom Compilers ==&lt;br /&gt;
There are several user contributions for different (non-C/C++) compiler which are listed here:&lt;br /&gt;
&lt;br /&gt;
https://wiki.codeblocks.org/index.php?title=User_documentation#Compilers&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9814</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9814"/>
		<updated>2024-10-12T17:53:30Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Borland C/C++ Free Compiler 5.5 is actually available on the official website. For some reason the wiki said otherwise, fixed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers. Once this scan has finished, Code::Blocks will have been correctly configured for any detected compilers. Code::Blocks will also have default configurations even for compilers that were not found.&lt;br /&gt;
&lt;br /&gt;
This article is a guide for obtaining, installing, and configuring the various compilers that Code::Blocks can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Before using a compiler with Code::Blocks you have to install it. The method for installing the compiler depends on the Operating system you're using, the Compiler you intend to use and so on.&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure (if the compiler is natively supported by Code::Blocks). Launch Code::Blocks and you're all set :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
* If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
* If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
* If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Once you've installed a new compiler, be sure to read the Compiler-neutral setup steps at the end of this article.&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Windows:&lt;br /&gt;
* [http://www.mingw.org MinGW GCC C/C++ Free Compiler, including GFortran]&lt;br /&gt;
** [http://www.cygwin.org Cygwin GCC C/C++ Free Compiler]&lt;br /&gt;
*** [[#HOWTO: Use Cygwin 1.7 with Code::Blocks|HOWTO: Use Cygwin 1.7 with Code::Blocks]]&lt;br /&gt;
* [http://www.ti.com/tool/msp430-gcc-opensource MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html PowerPC GCC C/C++]&lt;br /&gt;
* [http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-windows.html Digital Mars D Compiler for Windows]&lt;br /&gt;
These compilers are generally still under active development by their publishers, so a new version of their software could be released that is incompatible with the current version of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
The following compilers are still supported by Code::Blocks, but are no longer available from their original publishers.&lt;br /&gt;
* Microsoft's Visual C++ 2003 - 2010&lt;br /&gt;
&lt;br /&gt;
The following publishers have released newer versions of their compilers which should be tested against the current configuration.  In other words, it is not known yet whether these compilers still work with Code::Blocks.&lt;br /&gt;
&amp;lt;!-- * [https://www.embarcadero.com/free-tools/ccompiler Embarcadero's (formerly Borland) C/C++ Free Compiler] --&amp;gt;&lt;br /&gt;
* [http://www.openwatcom.org/download.php OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers/ipsxe Intel C/C++ Compiler] &amp;lt;!-- Does somebody have this one? I do not quality for the free version and do not need to pay for yet another C-compiler on my machine. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is now [https://osdn.net/projects/mingw/ here]. A MinGW-bundled version of the latest Code::Blocks release is available from the [https://www.codeblocks.org/downloads/5#windows Code::Blocks download page]. If you install this version, the GCC compiler will be automatically detected and set as the default. Also you can use the TDM's GCC/mingw32 Builds from [https://forums.codeblocks.org/index.php/topic,10508.0.html] or [https://jmeubank.github.io/tdm-gcc/].&lt;br /&gt;
&lt;br /&gt;
'''Note''': In any case, if you don't install MinGW in C:\MinGW, you'll need to update the configuration of GCC in Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
==== Official MinGW ====&lt;br /&gt;
You can install '''MinGW''' yourself, by using an automatic downloader/installer or by downloading and unpacking the required packages by hand from [https://osdn.net/projects/mingw/ OSDN], if needed, here is the [https://sourceforge.net/projects/mingw/ old sourceforge repository].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC:&lt;br /&gt;
&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-build-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-core-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-g++-3.4.5-20060117-3.tar.gz&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
&lt;br /&gt;
==== HOWTO: Use Cygwin 1.7 with Code::Blocks ====&lt;br /&gt;
Cygwin 1.7 changed the way symlinks were created and handled when invoked from a command prompt. I couldn't find a way to force CB to use a unix-link shell, but was able to find a work around when perusing the Cygwin mailing lists.&lt;br /&gt;
&lt;br /&gt;
The symptom would show up with a message similar to the one below:&lt;br /&gt;
&lt;br /&gt;
  Execution of 'g++.exe -Wall -fexceptions  -g     -c c:/dev/code/cb1/main.cpp -o obj/Debug/main.o' in 'c:\dev\code\cb1' failed.&lt;br /&gt;
&lt;br /&gt;
Executing the same command from the CMD.EXE prompt yields an &amp;quot;Access is denied&amp;quot; message. This was how I was able to track down why the issue occurred. For more info, see this cygwin mailing list thread: http://www.mail-archive.com/cygwin@cygwin.com/msg104088.html&lt;br /&gt;
&lt;br /&gt;
'''Solution'''&lt;br /&gt;
&lt;br /&gt;
The solution is to point your compiler and linker directly to the version of gcc and g++ that you want to use.&lt;br /&gt;
&lt;br /&gt;
In my case, I wanted to use gcc-4.exe and g++-4.exe and so, I went into Settings-&amp;gt;Compiler and Debugger-&amp;gt;Toolchain executables. There I changed the &amp;quot;C Complier&amp;quot;, &amp;quot;C++ Compiler&amp;quot; and &amp;quot;Linker for dynamic libs&amp;quot; to point to gcc-4.exe, g++-4.exe and g++-4.exe.&lt;br /&gt;
&lt;br /&gt;
After this, compilation and linking worked fine.&lt;br /&gt;
&lt;br /&gt;
It would also be a good idea to add an environment variable CYGWIN with a value of nodosfilewarning in Settings-&amp;gt;Environment-&amp;gt;Environment Variables. This eliminates the following (harmless) warning message:&lt;br /&gt;
&lt;br /&gt;
  MS-DOS style path detected: c:/&lt;br /&gt;
    Preferred POSIX equivalent is: /c&lt;br /&gt;
    CYGWIN environment variable option &amp;quot;nodosfilewarning&amp;quot; turns off this warning.&lt;br /&gt;
    Consult the user's guide for more details about POSIX paths:&lt;br /&gt;
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames&lt;br /&gt;
&lt;br /&gt;
See also: [[Installing Cygwin Compiler]]&lt;br /&gt;
&lt;br /&gt;
==== (Unofficial) TDM - &amp;quot;Twilight Dragon Media&amp;quot; ====&lt;br /&gt;
These packages are called '''TDM's GCC/mingw32 Builds''' and can be obtained from [https://jmeubank.github.io/tdm-gcc/ here].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.1-tdm-2 SJLJ:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; 4.4.1-tdm-2 SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.1-tdm-2-core.zip&lt;br /&gt;
** gcc-4.4.1-tdm-2-g++.zip&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326-3.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
These packages are included in both the Bundled Installer and the On-Demand Installer available via TDMs [https://jmeubank.github.io/tdm-gcc/download/ download page].&lt;br /&gt;
&lt;br /&gt;
=== Embarcadero C++ Compiler BCC32C ===&lt;br /&gt;
Formerly Borland's C++ Compiler, this compiler is now published by Embarcadero, with active on-going development; the current version is 10.1 as of this writing.  Go to [https://www.embarcadero.com/free-tools/ccompiler their product download page] to download.  You will be asked to enter some registration information (registration is free) then the download will begin.  You will receive a ZIP archive which contains installation instructions in a text file in the root directory of the archive; it does not have an installer program.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Intel C++ Compiler ===&lt;br /&gt;
Please note that on Windows platform, Intel C/C++ compiler requires ''Microsoft Visual C++[http://www.microsoft.com/express/download/offline.aspx]'' to be present in your system in order to function properly. It will not compile any C++ program without it. You should also note that ''Windows SDK[http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en]'' shall be installed in order to compile Windows app.&lt;br /&gt;
&lt;br /&gt;
Code::Blocks (C::B) is now able to detect (from svn revision 4967 onwards) Intel C/C++ compiler and it'll then automatically setup the MSVC compiler so that the Intel compiler works as intended. However if you wish to manually install the Intel C/C++ compiler, then follow the following steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''Settings &amp;gt; Compilers and debuggers''' and then select '''Intel C/C++ compiler'''.&lt;br /&gt;
* Click on the '''Toolchain executables''' tab. Point to the installation directory, e.g. &amp;lt;tt&amp;gt;C:\Program Files\Intel\Compiler\C++\10.1.020\IA32&amp;lt;/tt&amp;gt; , inside the ''Compiler's installation directory'' textbox.&lt;br /&gt;
* Click on the '''Additional Paths''' tab and fill in the directories pointing to MSVC bin directory and the Windows SDK directory. It may look like-&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\bin&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\bin&lt;br /&gt;
* Click on the '''Search directories''' tab and add the include directories containing headers offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK headers to '''Compiler''' and '''Resource compiler'''. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\include&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\include&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include&lt;br /&gt;
* Click on the '''Linker''' tab under '''Search directories''' tab and add the directories containing libraries offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\lib&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\lib&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button to save the settings. Now you should be able to use Intel C/C++ compilers on Windows with C::B.&lt;br /&gt;
&lt;br /&gt;
Note: The directories specified above may be different on your PC.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars D Compiler for Windows ===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit Windows, and in future it will support 64bit Windows.&lt;br /&gt;
If you want to build D program in CodeBlocks on 32bit Windows, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Windows system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Windows http://www.digitalmars.com/d/2.0/dmd-windows.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here: https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''&lt;br /&gt;
&lt;br /&gt;
    2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field;&lt;br /&gt;
    2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib\phobos.lib'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;;&lt;br /&gt;
    2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\src\phobos'''&amp;quot; into the field;&lt;br /&gt;
    2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib'''&amp;quot; into the field;&lt;br /&gt;
    2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''D:\Program\DMD2\windows'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed;&lt;br /&gt;
          (if you installed DMD2 correctly acc. to Installation setp, just click 'Auto-detect' button.)&lt;br /&gt;
    2.7). Additional: If you wan to specify the DMC (Digital Mars C/C++ Compiler) you can do like this:&lt;br /&gt;
          click &amp;quot;Toolchain executables -&amp;gt; Additional Paths&amp;quot;, and add &amp;quot;D:\Program\DMC\bin&amp;quot; into the field.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;D:\Program\DMD2&amp;quot; or &amp;quot;D:\Program\DMC\bin&amp;quot; here should change to your own DMD or DMC path in your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Linux:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-linux.html Digital Mars D Compiler for Linux]&lt;br /&gt;
&lt;br /&gt;
===Digital Mars D Compiler for Linux===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit and 64bit Linux, and 'support Linux library' is under construction. If you want to build D program in CodeBlocks on 32bit and 64bit Linux, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Linux system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Linux http://www.digitalmars.com/d/2.0/dmd-linux.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here:&lt;br /&gt;
https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
A). 32bit Linux &amp;amp; 32bit DMD2.&lt;br /&gt;
&lt;br /&gt;
On 32bit Linux, you should combine 32bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    A.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    A.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field.&lt;br /&gt;
    A.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    A.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    A.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    A.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    A.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B1). 64bit Linux &amp;amp; '''64bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 64bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B1.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B1.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m64'''  into the field.&lt;br /&gt;
    B1.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B1.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B1.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64'''&amp;quot; into the field. &lt;br /&gt;
    B1.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B1.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m64 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B2). 64bit Linux with '''32bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 32bit DMD2 with 64bit together from DMD2 source and install them into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add '''-m32''' into the field.&lt;br /&gt;
    B2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    B2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B2.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install a ''compatible'' version Xcode Tools from http://developer.apple.com/tools/ (or http://developer.apple.com/downloads). You need the &amp;quot;Command Line Tools&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
=== Setting up compiler switches ===&lt;br /&gt;
&lt;br /&gt;
Usually you need to tweak the compiler options to be able to compile C++ applications - that's the stuff Xcode hides from your eyes, but you better should know. You need to point to the GNU compiler's C/C++ include folders, to the GNU linkers libraries folder and a adjust the compiler options to setup the GNU compiler root path. Those path's differ depending on what hardware (processor architecture) and what version of MacOS is used. For an Intel based Mac with MacOS 10.6.2 and Xcode v3.2.2 the following should work:&lt;br /&gt;
&lt;br /&gt;
Compiler search directories (&amp;quot;include&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linker search directories (&amp;quot;library&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional compiler flags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Compilation ==&lt;br /&gt;
Remote compilation is not directly supported by Code::Blocks, however, the following articles explain two remote compilation systems, which use 3rd party programs to provide this functionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;br /&gt;
&lt;br /&gt;
== Misc. Custom Compilers ==&lt;br /&gt;
There are several user contributions for different (non-C/C++) compiler which are listed here:&lt;br /&gt;
&lt;br /&gt;
https://wiki.codeblocks.org/index.php?title=User_documentation#Compilers&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=CB_Clangd_Client&amp;diff=9813</id>
		<title>CB Clangd Client</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=CB_Clangd_Client&amp;diff=9813"/>
		<updated>2024-10-12T16:34:29Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Reformat page to be properly formatted, removed double spacebars&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The repository page of this plugin is: [https://svn.code.sf.net/p/codeblocks/code/trunk/src/plugins/contrib/clangd_client https://sourceforge.net/projects/cb-clangd-client/]&lt;br /&gt;
&lt;br /&gt;
It uses [https://clangd.llvm.org/ clangd] through [https://en.wikipedia.org/wiki/Language_Server_Protocol Language Server Protocol].&lt;br /&gt;
&lt;br /&gt;
The related forum discussion is:  — [https://forums.codeblocks.org/index.php/topic,24357.html Code completion using LSP and clangd]&lt;br /&gt;
== '''What is Clangd'''==&lt;br /&gt;
clangd understands your C++ code and adds smart features to your editor&lt;br /&gt;
&lt;br /&gt;
* code completion&lt;br /&gt;
* compile errors&lt;br /&gt;
* go-to-definition&lt;br /&gt;
* go-to-implementation&lt;br /&gt;
* find references&lt;br /&gt;
&lt;br /&gt;
and more.&lt;br /&gt;
&lt;br /&gt;
clangd is a language server that can work with your editor via a plugin.&lt;br /&gt;
CodeBlocks provides Clangd_client as the needed plugin.&lt;br /&gt;
&lt;br /&gt;
Clangd_client additionally enhances the clangd server by providing:&lt;br /&gt;
&lt;br /&gt;
* call tips&lt;br /&gt;
* function definitions&lt;br /&gt;
* parameter definitions&lt;br /&gt;
* previous and next function positioning&lt;br /&gt;
* symbols browser&lt;br /&gt;
* go-to-file&lt;br /&gt;
* go-to-function&lt;br /&gt;
* symbol renaming&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=='''Configuring clangd_client'''==&lt;br /&gt;
Clangd_client requires the third-party binary clangd executable.&lt;br /&gt;
&lt;br /&gt;
See '''Windows: Compiler Clangd/LLVM Package Installer''' below to install it.&lt;br /&gt;
&lt;br /&gt;
or '''Linux: Clangd executable install process'''&lt;br /&gt;
&lt;br /&gt;
After a successful clangd executable install, perform the following:&amp;lt;blockquote&amp;gt;Disable the &amp;quot;CodeCompletion&amp;quot; plugin.&lt;br /&gt;
&lt;br /&gt;
* Navigate to Setting-&amp;gt;Plugins-&amp;gt;Manage Plugins and '''disable''' CodeCompletion.&lt;br /&gt;
* Navigate to Setting-&amp;gt;Plugins-&amp;gt;Manage Plugins and '''enable''' Clangd_client.&lt;br /&gt;
&lt;br /&gt;
'''Restart Codeblocks'''.&lt;br /&gt;
&lt;br /&gt;
Tell CodeBlocks (or verify) where the clangd executable resides:&lt;br /&gt;
&lt;br /&gt;
* Navigate to Setting-&amp;gt;Editor-&amp;gt;Clangd_client-&amp;gt;C/C++ parser(tab) and verify or enter the location of the clangd executable in the box labeled &amp;quot;Specify clangd executable to use&amp;quot;.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Installing Clangd_client from source or pre-built binary ''' ==&lt;br /&gt;
Note: Clangd_client is now included as a contrib plugin within the &amp;quot;Nightly&amp;quot; builds.&lt;br /&gt;
&lt;br /&gt;
Using a &amp;quot;Nightly&amp;quot; build is the easiest way to update to clangd_client.&lt;br /&gt;
&lt;br /&gt;
Simply install the &amp;quot;Nightly&amp;quot; and configure as specified below.&lt;br /&gt;
&lt;br /&gt;
See the Nightly builds at https://forums.codeblocks.org/index.php/board,20.0.html&lt;br /&gt;
&lt;br /&gt;
# Install the LLVM or Clangd.exe as documented in the section below entitled:&lt;br /&gt;
#:'''Windows Clangd executable install process'''&lt;br /&gt;
# Disable the Code completion plugin as follows:&lt;br /&gt;
#: a) Open the Plugin manager via  Code::Blocks menu &lt;br /&gt;
#::         &amp;quot;MainMenu=&amp;gt;Plugins=&amp;gt;Manage plugins...&amp;quot; &lt;br /&gt;
#: b) In the Manage Plugin dialog do the following:&lt;br /&gt;
#:: i  ) Find and select the &amp;quot;Code completion&amp;quot; plugin via it's title&lt;br /&gt;
#::          ii ) Press the &amp;quot;Disable&amp;quot; button on the right near the top&lt;br /&gt;
#::          iii) If you get any errors please try again.&lt;br /&gt;
# Install the Clangd-Client Plugin using one of the following options, which are documented below: &lt;br /&gt;
#: a) Install via the Plugin Manager&lt;br /&gt;
#:      b) Manually install the plugin files&lt;br /&gt;
# Configure the Clangd-Client Plugin for use as follows:&lt;br /&gt;
#: a) Select the CodeBlocks menu item &amp;quot;Settings-&amp;gt;Editor...&amp;quot;&lt;br /&gt;
#:      b) In the list on the left click/select the &amp;quot;clangd_client&amp;quot; option.&lt;br /&gt;
#:      c) In the &amp;quot;C/C++ parser&amp;quot; tab change the &amp;quot;Specify clangd executable to use&amp;quot; to reference the clangd.exe you installed via step 1) above. &lt;br /&gt;
#: Some examples of this could be:&lt;br /&gt;
#:* C:\msys64\clang64\bin\clangd.exe&lt;br /&gt;
#:* C:\msys64\clang32\bin\clangd.exe&lt;br /&gt;
#:* C:\msys64\mingw64\bin\clangd.exe&lt;br /&gt;
#:* C:\msys64\mingw32\bin\clangd.exe&lt;br /&gt;
#:* C:\LLVM\bin\clangd.exe&lt;br /&gt;
#:* C:\comilers\clang\clangd.exe&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Manually Remove Clangd-Client Plugin''' ==&lt;br /&gt;
&lt;br /&gt;
# Exit Code::Blocks!&lt;br /&gt;
# If you manually installed the files or used the Plugin manager then you can do the following:&lt;br /&gt;
#: a) In the Code::Blocks '''...\share\CodeBlocks''' folder delete the clangd_client.zip file&lt;br /&gt;
#:  b) In the Code::Blocks '''...\share\CodeBlocks\plugins''' folder delete the clangd_client.dll file&lt;br /&gt;
# If you installed via the Plugin manager then you can delete the files with the following commands:&lt;br /&gt;
#: a) del '''%APPDATA%\CodeBlocks\share\codeblocks\plugins\clangd_client.dll'''&lt;br /&gt;
#:  b) del '''%APPDATA%\CodeBlocks\share\codeblocks\clangd_client.zip'''&lt;br /&gt;
# If you want to reuse older code completion remember to re-enable the plugin and restart CodeBlocks.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Windows: Clangd executable install process:''' ==&lt;br /&gt;
There are three main options to install the clangd.exe:&lt;br /&gt;
#        Install the LLVM compiler.&lt;br /&gt;
#        Manully extract the required files from the LLVM compiler.&lt;br /&gt;
#        Install the Clangd package for the Windows compiler you are using if it is available.&lt;br /&gt;
The process for the three options above are detailed below.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Windows: Install the LLVM compiler''' ==&lt;br /&gt;
&lt;br /&gt;
# Download the latest (non RC/Beta) LLVM Windows executable for your OS (Win32 or Win64) from the following&lt;br /&gt;
#: Github LLVM download page: https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.8&lt;br /&gt;
#: As of Jan 2022 the Windows files are named as follows:&lt;br /&gt;
#:* LLVM-&amp;lt;version&amp;gt;-win64.exe&lt;br /&gt;
#:* LLVM-&amp;lt;version&amp;gt;-win32.exe&lt;br /&gt;
#: where &amp;lt;version&amp;gt; is the LLVM version, like 13.0.0 or 13.0.1.&lt;br /&gt;
#    Run the LLVM-&amp;lt;version&amp;gt;-win&amp;lt;xx&amp;gt;.exe you downloaded to install the LLVM compiler.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Windows: Compiler Clangd/LLVM Package Installer''' ==&lt;br /&gt;
Due to the number of different compilers available for Windows not all of the compilers will have either/both the Clang or LLVM required files.&lt;br /&gt;
&lt;br /&gt;
If you want to install the specific package(s) for the Windows compiler you are using in order to use it's clangd.exe file please follow the instructions below for the specific compiler you have installed:&lt;br /&gt;
&lt;br /&gt;
'''MSYS2 Compiler - MinGW64'''&lt;br /&gt;
 There are two main options to install the clangd.exe as follows:&lt;br /&gt;
 1) The first option in order to  minimise disk space is to install the Clang extra &lt;br /&gt;
 tools using one of the following packages:&lt;br /&gt;
 +------------------------------------------+------------------------+&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;|               Package                    |&amp;lt;/nowiki&amp;gt; Clangd executable      |&lt;br /&gt;
 +------------------------------------------+------------------------+&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;| mingw-w64-clang-x86_64-clang-tools-extra |&amp;lt;/nowiki&amp;gt; clang64/bin/clangd.exe |&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;| mingw-w64-x86_64-clang-tools-extra       |&amp;lt;/nowiki&amp;gt; mingw64/bin/clangd.exe |&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;| mingw-w64-ucrt-x86_64-clang-tools-extra  |&amp;lt;/nowiki&amp;gt; ucrt64/bin/clangd.exe  |&lt;br /&gt;
 +------------------------------------------+------------------------+&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;         To intall the package do the following:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;          a) Open the msys2.exe bash shell &lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;          b) Run the following command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;                 pacman -S &amp;lt;Package name in the table above&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;      &amp;lt;nowiki&amp;gt;'''&amp;lt;/nowiki&amp;gt;OR&amp;lt;nowiki&amp;gt;'''&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;      2) The second option is to intall the full Clang tool chain as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;          a) Open the msys2.exe bash shell &lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;          b) Run the following command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;                 pacman -S mingw-w64-clang-x86_64-toolchain&lt;br /&gt;
'''MSYS2 Compiler - MinGW32'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       There are two main options to install the clangd.exe as follows:&lt;br /&gt;
&lt;br /&gt;
       1) The first option in order to  minimise disk space is to install the Clang extra &lt;br /&gt;
          tools using one of the following packages:&lt;br /&gt;
&lt;br /&gt;
           +------------------------------------------+------------------------+&lt;br /&gt;
           |               Package                    | Clangd executable      |&lt;br /&gt;
           +------------------------------------------+------------------------+&lt;br /&gt;
           | mingw-w64-clang-i686-clang-tools-extra   | clang32/bin/clangd.exe |&lt;br /&gt;
           | mingw-w64-i686-clang-tools-extra         | mingw32/bin/clangd.exe |&lt;br /&gt;
           +------------------------------------------+------------------------+&lt;br /&gt;
&lt;br /&gt;
          To intall the package do the following:&lt;br /&gt;
            a) Open the msys2.exe bash shell &lt;br /&gt;
            b) Run the following command:&lt;br /&gt;
                  pacman -S &amp;lt;Package name in the table above&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        '''OR'''&lt;br /&gt;
&lt;br /&gt;
       2) The second option is to install the full Clang tool chain as follows:&lt;br /&gt;
          a) Open the msys2.exe bash shell &lt;br /&gt;
          b) Run the following command:&lt;br /&gt;
                  pacman -S mingw-w64-clang-i686-toolchain&lt;br /&gt;
&amp;lt;/pre&amp;gt;'''[https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412 Notes from the CodeBlocks forum to avoid mixing incompatible gcc/clangd executables]'''&lt;br /&gt;
&lt;br /&gt;
'''Don't mix mingw64 with clang64'''.&lt;br /&gt;
&lt;br /&gt;
If you are using the gcc from msys2, (the compilers in the folder '''msys64\mingw64\bin'''), you should use &amp;quot;mingw-w64-x86_64-clang-tools-extra&amp;quot;, (the clangd.exe is under the folder '''msys64\mingw64\bin''') the same folder as your gcc.exe. If you are using the clang tool chain, (the folder '''msys64\clang64\bin'''), you should use &amp;quot;mingw-w64-clang-x86_64-clang-tools-extra&amp;quot;. I found that I just make a big mistake. That is: I used the gcc toolchain from '''msys64\mingw64\bin''', but I used the clangd.exe from '''msys64\clang64\bin'''. The result is I got a lot of LSP diagnostics messages and errors. Luckily I found the reason, and fixed this issue. Hope this will help others.&lt;br /&gt;
-----&lt;br /&gt;
== '''Linux: Clangd executable install process:''' ==&lt;br /&gt;
NOTE: Clangd_client plugin requires a clangd executable version 13 or greater.&lt;br /&gt;
&lt;br /&gt;
Check your current clangd version by running '''clangd --version'''&lt;br /&gt;
&lt;br /&gt;
If the version is less than 13 you will have to install a newer version.&lt;br /&gt;
&lt;br /&gt;
See https://clangd.llvm.org/installation.html&amp;lt;blockquote&amp;gt;Installing the clangd package will usually give you a slightly older version.&lt;br /&gt;
&lt;br /&gt;
Test this by issuing '''apt-get install --dry-run clangd'''&lt;br /&gt;
&lt;br /&gt;
As of 2022/11/16, this suggest that clangd version 10 will be installed.&amp;lt;/blockquote&amp;gt;If the clangd version shows less than version 13, you'll have to install a specific version as follows:&amp;lt;blockquote&amp;gt;Install a packaged release (''must be version 13 or greater''):&lt;br /&gt;
&lt;br /&gt;
'''sudo apt-get install clangd-13''' ''(Must be version 13 or greater)''.&amp;lt;/blockquote&amp;gt;This will install clangd as '''/usr/bin/clangd-13'''.&lt;br /&gt;
&lt;br /&gt;
You can now configure clangd_client plugin by following the above instructions at&lt;br /&gt;
&lt;br /&gt;
[https://wiki.codeblocks.org/index.php/CB_Clangd_Client#Configuring_clangd_client] '''Configuring clangd_client'''&lt;br /&gt;
&lt;br /&gt;
If you prefer to install the entire LLVM/Clang package, for convenience, there is an automatic installation script available that installs LLVM for you.&lt;br /&gt;
&lt;br /&gt;
To install the latest stable version: see [https://apt.llvm.org/] '''Automatic installation script'''.&lt;br /&gt;
&lt;br /&gt;
Note that you can specify the version number with this script.&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=MinGW_installation&amp;diff=9812</id>
		<title>MinGW installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=MinGW_installation&amp;diff=9812"/>
		<updated>2024-10-12T13:30:19Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fix links to MinGW and TDM-GCC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
A compiler toolchain is what Code::Blocks uses to turn the code you type into it into numbers that the computer understands.  As a compiler toolchain is a very complex undertaking it is not part of Code::Blocks itself but rather is a separate project that Code::Blocks then uses.  The kind of compiler toolchains talked about on this page are &amp;quot;MinGW&amp;quot; toolchains.  Which means &amp;quot;Minimalist GNU for Windows.&amp;quot;  And &amp;quot;GNU&amp;quot; expands to &amp;quot;GNU's Not Unix.&amp;quot;  More information about the GNU project can be found on the [https://www.gnu.org/home.en.html GNU Home Page].&lt;br /&gt;
&lt;br /&gt;
For most MinGW-based compiler toolchains, having your toolchain in your PATH is important because it means that during development the toolchain libraries will be accessible by default to your programs as you develop them and also makes it easier to use utilities such as [https://cmake.org/ CMake] as they will be able to find your compiler toolchain.  When you actually distribute your programs to other computers then you will copy the needed .dll files out of your toolchain directory and include them as part of your installer.  On your machine they are in your PATH so you always have them, on your users computers they won't have the compiler toolchain so there you provide the .dll files with your program.&lt;br /&gt;
&lt;br /&gt;
== TDM-GCC ==&lt;br /&gt;
&lt;br /&gt;
[https://jmeubank.github.io/tdm-gcc/ TDM-GCC] is the toolchain that will be used as the example for this guide.  TDM-GCC statically links the required toolchain libraries into your final executable.  Which means that when you create your installer for your final program there are less files to include - they are built into your executable itself.  The Code::Blocks team recommends TDM-GCC.&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
Download the on-demand installer and run it.&lt;br /&gt;
&lt;br /&gt;
Go through the installation pages, the red arrows are all the default options which we will be keeping and the last blue arrow is to indicate that you will be putting TDM-GCC into your system's PATH.  &lt;br /&gt;
&lt;br /&gt;
[[Image:TDM_Create.png]] [[Image:TDM_Arch.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:TDM_Inst_Dir.png]] [[Image:TDM_Inst_Options.png]]&lt;br /&gt;
&lt;br /&gt;
Once you are ready, click Install to proceed.&lt;br /&gt;
&lt;br /&gt;
=== Code::Blocks Configuration ===&lt;br /&gt;
&lt;br /&gt;
Go to your Compiler settings:&lt;br /&gt;
&lt;br /&gt;
[[Image:Compiler_Settings.png]]&lt;br /&gt;
&lt;br /&gt;
And then under the &amp;quot;Toolchain executables&amp;quot; tab (red arrow), click on the ellipsis (&amp;quot;...&amp;quot;, blue arrow) and choose the root directory where you installed TDM-GCC 32-bit.  Once you have that directory chosen, in the &amp;quot;Program Files&amp;quot; sub-tab (green arrow) area fill out the fields as shown.  If you aren't using the TDM-GCC toolchain there might be minor variation in the executable names.  If you choose the blue arrow ellipsis ''first'' then for each ellipsis you click on under &amp;quot;Program Files&amp;quot; you will already be in your TDM-GCC &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory where the actual programs are.&lt;br /&gt;
&lt;br /&gt;
[[Image:CB_TDM_Toolchain.png]]&lt;br /&gt;
&lt;br /&gt;
Now, go to your Debugger settings:&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_Debugger.png]]&lt;br /&gt;
&lt;br /&gt;
Choose your default debugger (red arrow), and then fill in the Executable path for it as shown for TDM-GCC 32-bit (blue arrow).&lt;br /&gt;
&lt;br /&gt;
[[Image:Debugger_Default.png]]&lt;br /&gt;
&lt;br /&gt;
=== Summary ===&lt;br /&gt;
&lt;br /&gt;
You now have a Code::Blocks environment that is configured to use TDM-GCC 32-bit properly.  Using this guide as a template you can easily set up alternative compiler toolchains no matter the source - just follow the same basic procedure.&lt;br /&gt;
&lt;br /&gt;
== Alternative MinGW Compiler Toolchains ==&lt;br /&gt;
&lt;br /&gt;
[https://osdn.net/projects/mingw/ MinGW] - The original project.&lt;br /&gt;
&lt;br /&gt;
[https://sourceforge.net/projects/mingw-w64/files/ MinGW-Builds] ➡ In, &amp;quot;Toolchains targeting Win32 or Win64,&amp;quot; ➡ &amp;quot;Personal Builds,&amp;quot; ➡ &amp;quot;mingw-builds,&amp;quot; ➡ Version, ➡ Threading Model, ➡ Exception Model, ➡ Revision.&lt;br /&gt;
&lt;br /&gt;
[http://mingw-w64.org/doku.php Mingw-w64] - The parent project of MinGW-Builds, includes much more than is necessary - MinGW-Builds will usually suffice instead of the full works.&lt;br /&gt;
&lt;br /&gt;
[http://www.equation.com/servlet/equation.cmd?fa=fortran MinGW Equation] - A package that also provides OpenMP.&lt;br /&gt;
&lt;br /&gt;
==Development Tools==&lt;br /&gt;
&lt;br /&gt;
Normally you should not need many of these tools.  ZIP is convenient, especially when: [[Installing_Code::Blocks_from_source_on_Windows | building Code::Blocks itself]], but other than that these tools only serve specialized purposes.&lt;br /&gt;
&lt;br /&gt;
===UnxUtils===&lt;br /&gt;
&lt;br /&gt;
* [https://sourceforge.net/projects/unxutils/ UnxUtils]&lt;br /&gt;
&lt;br /&gt;
===GnuWin32===&lt;br /&gt;
&lt;br /&gt;
*[https://sourceforge.net/projects/gnuwin32/ GnuWin32]&lt;br /&gt;
&lt;br /&gt;
===ZIP===&lt;br /&gt;
*[ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip zip-3.0.0 32-bit] or [ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn-x64.zip zip-3.0.0 64-bit]&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User_talk:MichaelAgarkov&amp;diff=9811</id>
		<title>User talk:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User_talk:MichaelAgarkov&amp;diff=9811"/>
		<updated>2024-10-12T13:24:40Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9810</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9810"/>
		<updated>2024-10-12T12:22:23Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added email link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: [mailto:michaelagarkov@outlook.com michaelagarkov@outlook.com]&lt;br /&gt;
&lt;br /&gt;
GitHub: https://github.com/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9809</id>
		<title>User:MichaelAgarkov</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User:MichaelAgarkov&amp;diff=9809"/>
		<updated>2024-10-12T12:21:41Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added a personal page with contact information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contact email: michaelagarkov@outlook.com&lt;br /&gt;
GitHub: https://github.com/MichaelAgarkov&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9808</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9808"/>
		<updated>2024-10-12T12:13:19Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Fix old MinGW sourceforge repository link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers. Once this scan has finished, Code::Blocks will have been correctly configured for any detected compilers. Code::Blocks will also have default configurations even for compilers that were not found.&lt;br /&gt;
&lt;br /&gt;
This article is a guide for obtaining, installing, and configuring the various compilers that Code::Blocks can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Before using a compiler with Code::Blocks you have to install it. The method for installing the compiler depends on the Operating system you're using, the Compiler you intend to use and so on.&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure (if the compiler is natively supported by Code::Blocks). Launch Code::Blocks and you're all set :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
* If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
* If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
* If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Once you've installed a new compiler, be sure to read the Compiler-neutral setup steps at the end of this article.&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Windows:&lt;br /&gt;
* [http://www.mingw.org MinGW GCC C/C++ Free Compiler, including GFortran]&lt;br /&gt;
** [http://www.cygwin.org Cygwin GCC C/C++ Free Compiler]&lt;br /&gt;
*** [[#HOWTO: Use Cygwin 1.7 with Code::Blocks|HOWTO: Use Cygwin 1.7 with Code::Blocks]]&lt;br /&gt;
* [http://www.ti.com/tool/msp430-gcc-opensource MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html PowerPC GCC C/C++]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-windows.html Digital Mars D Compiler for Windows]&lt;br /&gt;
These compilers are generally still under active development by their publishers, so a new version of their software could be released that is incompatible with the current version of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
The following compilers are still supported by Code::Blocks, but are no longer available from their original publishers.&lt;br /&gt;
* Microsoft's Visual C++ 2003 - 2010&lt;br /&gt;
* Borland's C/C++ Free Compiler 5.5&lt;br /&gt;
&lt;br /&gt;
The following publishers have released newer versions of their compilers which should be tested against the current configuration.  In other words, it is not known yet whether these compilers still work with Code::Blocks.&lt;br /&gt;
&amp;lt;!-- * [https://www.embarcadero.com/free-tools/ccompiler Embarcadero's (formerly Borland) C/C++ Free Compiler] --&amp;gt;&lt;br /&gt;
* [http://www.openwatcom.org/download.php OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers/ipsxe Intel C/C++ Compiler] &amp;lt;!-- Does somebody have this one? I do not quality for the free version and do not need to pay for yet another C-compiler on my machine. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is now [https://osdn.net/projects/mingw/ here]. A MinGW-bundled version of the latest Code::Blocks release is available from the [https://www.codeblocks.org/downloads/5#windows Code::Blocks download page]. If you install this version, the GCC compiler will be automatically detected and set as the default. Also you can use the TDM's GCC/mingw32 Builds from [https://forums.codeblocks.org/index.php/topic,10508.0.html] or [https://jmeubank.github.io/tdm-gcc/].&lt;br /&gt;
&lt;br /&gt;
'''Note''': In any case, if you don't install MinGW in C:\MinGW, you'll need to update the configuration of GCC in Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
==== Official MinGW ====&lt;br /&gt;
You can install '''MinGW''' yourself, by using an automatic downloader/installer or by downloading and unpacking the required packages by hand from [https://osdn.net/projects/mingw/ OSDN], if needed, here is the [https://sourceforge.net/projects/mingw/ old sourceforge repository].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC:&lt;br /&gt;
&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-build-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-core-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-g++-3.4.5-20060117-3.tar.gz&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
&lt;br /&gt;
==== HOWTO: Use Cygwin 1.7 with Code::Blocks ====&lt;br /&gt;
Cygwin 1.7 changed the way symlinks were created and handled when invoked from a command prompt. I couldn't find a way to force CB to use a unix-link shell, but was able to find a work around when perusing the Cygwin mailing lists.&lt;br /&gt;
&lt;br /&gt;
The symptom would show up with a message similar to the one below:&lt;br /&gt;
&lt;br /&gt;
  Execution of 'g++.exe -Wall -fexceptions  -g     -c c:/dev/code/cb1/main.cpp -o obj/Debug/main.o' in 'c:\dev\code\cb1' failed.&lt;br /&gt;
&lt;br /&gt;
Executing the same command from the CMD.EXE prompt yields an &amp;quot;Access is denied&amp;quot; message. This was how I was able to track down why the issue occurred. For more info, see this cygwin mailing list thread: http://www.mail-archive.com/cygwin@cygwin.com/msg104088.html&lt;br /&gt;
&lt;br /&gt;
'''Solution'''&lt;br /&gt;
&lt;br /&gt;
The solution is to point your compiler and linker directly to the version of gcc and g++ that you want to use.&lt;br /&gt;
&lt;br /&gt;
In my case, I wanted to use gcc-4.exe and g++-4.exe and so, I went into Settings-&amp;gt;Compiler and Debugger-&amp;gt;Toolchain executables. There I changed the &amp;quot;C Complier&amp;quot;, &amp;quot;C++ Compiler&amp;quot; and &amp;quot;Linker for dynamic libs&amp;quot; to point to gcc-4.exe, g++-4.exe and g++-4.exe.&lt;br /&gt;
&lt;br /&gt;
After this, compilation and linking worked fine.&lt;br /&gt;
&lt;br /&gt;
It would also be a good idea to add an environment variable CYGWIN with a value of nodosfilewarning in Settings-&amp;gt;Environment-&amp;gt;Environment Variables. This eliminates the following (harmless) warning message:&lt;br /&gt;
&lt;br /&gt;
  MS-DOS style path detected: c:/&lt;br /&gt;
    Preferred POSIX equivalent is: /c&lt;br /&gt;
    CYGWIN environment variable option &amp;quot;nodosfilewarning&amp;quot; turns off this warning.&lt;br /&gt;
    Consult the user's guide for more details about POSIX paths:&lt;br /&gt;
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames&lt;br /&gt;
&lt;br /&gt;
See also: [[Installing Cygwin Compiler]]&lt;br /&gt;
&lt;br /&gt;
==== (Unofficial) TDM - &amp;quot;Twilight Dragon Media&amp;quot; ====&lt;br /&gt;
These packages are called '''TDM's GCC/mingw32 Builds''' and can be obtained from [https://jmeubank.github.io/tdm-gcc/ here].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.1-tdm-2 SJLJ:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; 4.4.1-tdm-2 SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.1-tdm-2-core.zip&lt;br /&gt;
** gcc-4.4.1-tdm-2-g++.zip&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326-3.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
These packages are included in both the Bundled Installer and the On-Demand Installer available via TDMs [https://jmeubank.github.io/tdm-gcc/download/ download page].&lt;br /&gt;
&lt;br /&gt;
=== Embarcadero C++ Compiler BCC32C ===&lt;br /&gt;
Formerly Borland's C++ Compiler, this compiler is now published by Embarcadero, with active on-going development; the current version is 10.1 as of this writing.  Go to [https://www.embarcadero.com/free-tools/ccompiler their product download page] to download.  You will be asked to enter some registration information (registration is free) then the download will begin.  You will receive a ZIP archive which contains installation instructions in a text file in the root directory of the archive; it does not have an installer program.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Intel C++ Compiler ===&lt;br /&gt;
Please note that on Windows platform, Intel C/C++ compiler requires ''Microsoft Visual C++[http://www.microsoft.com/express/download/offline.aspx]'' to be present in your system in order to function properly. It will not compile any C++ program without it. You should also note that ''Windows SDK[http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en]'' shall be installed in order to compile Windows app.&lt;br /&gt;
&lt;br /&gt;
Code::Blocks (C::B) is now able to detect (from svn revision 4967 onwards) Intel C/C++ compiler and it'll then automatically setup the MSVC compiler so that the Intel compiler works as intended. However if you wish to manually install the Intel C/C++ compiler, then follow the following steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''Settings &amp;gt; Compilers and debuggers''' and then select '''Intel C/C++ compiler'''.&lt;br /&gt;
* Click on the '''Toolchain executables''' tab. Point to the installation directory, e.g. &amp;lt;tt&amp;gt;C:\Program Files\Intel\Compiler\C++\10.1.020\IA32&amp;lt;/tt&amp;gt; , inside the ''Compiler's installation directory'' textbox.&lt;br /&gt;
* Click on the '''Additional Paths''' tab and fill in the directories pointing to MSVC bin directory and the Windows SDK directory. It may look like-&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\bin&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\bin&lt;br /&gt;
* Click on the '''Search directories''' tab and add the include directories containing headers offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK headers to '''Compiler''' and '''Resource compiler'''. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\include&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\include&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include&lt;br /&gt;
* Click on the '''Linker''' tab under '''Search directories''' tab and add the directories containing libraries offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\lib&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\lib&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button to save the settings. Now you should be able to use Intel C/C++ compilers on Windows with C::B.&lt;br /&gt;
&lt;br /&gt;
Note: The directories specified above may be different on your PC.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars D Compiler for Windows ===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit Windows, and in future it will support 64bit Windows.&lt;br /&gt;
If you want to build D program in CodeBlocks on 32bit Windows, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Windows system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Windows http://www.digitalmars.com/d/2.0/dmd-windows.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here: https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''&lt;br /&gt;
&lt;br /&gt;
    2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field;&lt;br /&gt;
    2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib\phobos.lib'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;;&lt;br /&gt;
    2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\src\phobos'''&amp;quot; into the field;&lt;br /&gt;
    2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib'''&amp;quot; into the field;&lt;br /&gt;
    2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''D:\Program\DMD2\windows'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed;&lt;br /&gt;
          (if you installed DMD2 correctly acc. to Installation setp, just click 'Auto-detect' button.)&lt;br /&gt;
    2.7). Additional: If you wan to specify the DMC (Digital Mars C/C++ Compiler) you can do like this:&lt;br /&gt;
          click &amp;quot;Toolchain executables -&amp;gt; Additional Paths&amp;quot;, and add &amp;quot;D:\Program\DMC\bin&amp;quot; into the field.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;D:\Program\DMD2&amp;quot; or &amp;quot;D:\Program\DMC\bin&amp;quot; here should change to your own DMD or DMC path in your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Linux:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-linux.html Digital Mars D Compiler for Linux]&lt;br /&gt;
&lt;br /&gt;
===Digital Mars D Compiler for Linux===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit and 64bit Linux, and 'support Linux library' is under construction. If you want to build D program in CodeBlocks on 32bit and 64bit Linux, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Linux system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Linux http://www.digitalmars.com/d/2.0/dmd-linux.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here:&lt;br /&gt;
https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
A). 32bit Linux &amp;amp; 32bit DMD2.&lt;br /&gt;
&lt;br /&gt;
On 32bit Linux, you should combine 32bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    A.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    A.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field.&lt;br /&gt;
    A.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    A.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    A.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    A.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    A.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B1). 64bit Linux &amp;amp; '''64bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 64bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B1.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B1.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m64'''  into the field.&lt;br /&gt;
    B1.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B1.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B1.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64'''&amp;quot; into the field. &lt;br /&gt;
    B1.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B1.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m64 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B2). 64bit Linux with '''32bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 32bit DMD2 with 64bit together from DMD2 source and install them into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add '''-m32''' into the field.&lt;br /&gt;
    B2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    B2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B2.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install a ''compatible'' version Xcode Tools from http://developer.apple.com/tools/ (or http://developer.apple.com/downloads). You need the &amp;quot;Command Line Tools&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
=== Setting up compiler switches ===&lt;br /&gt;
&lt;br /&gt;
Usually you need to tweak the compiler options to be able to compile C++ applications - that's the stuff Xcode hides from your eyes, but you better should know. You need to point to the GNU compiler's C/C++ include folders, to the GNU linkers libraries folder and a adjust the compiler options to setup the GNU compiler root path. Those path's differ depending on what hardware (processor architecture) and what version of MacOS is used. For an Intel based Mac with MacOS 10.6.2 and Xcode v3.2.2 the following should work:&lt;br /&gt;
&lt;br /&gt;
Compiler search directories (&amp;quot;include&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linker search directories (&amp;quot;library&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional compiler flags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Compilation ==&lt;br /&gt;
Remote compilation is not directly supported by Code::Blocks, however, the following articles explain two remote compilation systems, which use 3rd party programs to provide this functionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;br /&gt;
&lt;br /&gt;
== Misc. Custom Compilers ==&lt;br /&gt;
There are several user contributions for different (non-C/C++) compiler which are listed here:&lt;br /&gt;
&lt;br /&gt;
https://wiki.codeblocks.org/index.php?title=User_documentation#Compilers&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9807</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=9807"/>
		<updated>2024-10-12T12:11:59Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Replace old MinGW and TDM-GCC links with new working ones&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers. Once this scan has finished, Code::Blocks will have been correctly configured for any detected compilers. Code::Blocks will also have default configurations even for compilers that were not found.&lt;br /&gt;
&lt;br /&gt;
This article is a guide for obtaining, installing, and configuring the various compilers that Code::Blocks can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Before using a compiler with Code::Blocks you have to install it. The method for installing the compiler depends on the Operating system you're using, the Compiler you intend to use and so on.&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure (if the compiler is natively supported by Code::Blocks). Launch Code::Blocks and you're all set :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
* If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
* If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
* If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Once you've installed a new compiler, be sure to read the Compiler-neutral setup steps at the end of this article.&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Windows:&lt;br /&gt;
* [http://www.mingw.org MinGW GCC C/C++ Free Compiler, including GFortran]&lt;br /&gt;
** [http://www.cygwin.org Cygwin GCC C/C++ Free Compiler]&lt;br /&gt;
*** [[#HOWTO: Use Cygwin 1.7 with Code::Blocks|HOWTO: Use Cygwin 1.7 with Code::Blocks]]&lt;br /&gt;
* [http://www.ti.com/tool/msp430-gcc-opensource MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/en/downloads/evaluation-version.html PowerPC GCC C/C++]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-windows.html Digital Mars D Compiler for Windows]&lt;br /&gt;
These compilers are generally still under active development by their publishers, so a new version of their software could be released that is incompatible with the current version of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
The following compilers are still supported by Code::Blocks, but are no longer available from their original publishers.&lt;br /&gt;
* Microsoft's Visual C++ 2003 - 2010&lt;br /&gt;
* Borland's C/C++ Free Compiler 5.5&lt;br /&gt;
&lt;br /&gt;
The following publishers have released newer versions of their compilers which should be tested against the current configuration.  In other words, it is not known yet whether these compilers still work with Code::Blocks.&lt;br /&gt;
&amp;lt;!-- * [https://www.embarcadero.com/free-tools/ccompiler Embarcadero's (formerly Borland) C/C++ Free Compiler] --&amp;gt;&lt;br /&gt;
* [http://www.openwatcom.org/download.php OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [https://software.intel.com/en-us/c-compilers/ipsxe Intel C/C++ Compiler] &amp;lt;!-- Does somebody have this one? I do not quality for the free version and do not need to pay for yet another C-compiler on my machine. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is now [https://osdn.net/projects/mingw/ here]. A MinGW-bundled version of the latest Code::Blocks release is available from the [https://www.codeblocks.org/downloads/5#windows Code::Blocks download page]. If you install this version, the GCC compiler will be automatically detected and set as the default. Also you can use the TDM's GCC/mingw32 Builds from [https://forums.codeblocks.org/index.php/topic,10508.0.html] or [https://jmeubank.github.io/tdm-gcc/].&lt;br /&gt;
&lt;br /&gt;
'''Note''': In any case, if you don't install MinGW in C:\MinGW, you'll need to update the configuration of GCC in Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
==== Official MinGW ====&lt;br /&gt;
You can install '''MinGW''' yourself, by using an automatic downloader/installer or by downloading and unpacking the required packages by hand from [https://osdn.net/projects/mingw/ OSDN], if needed, here is the [[http:projects/mingw/files/|old sourceforge repository]].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC:&lt;br /&gt;
&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-build-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-core-3.4.5-20060117-3.tar.gz&lt;br /&gt;
** gcc-g++-3.4.5-20060117-3.tar.gz&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
&lt;br /&gt;
==== HOWTO: Use Cygwin 1.7 with Code::Blocks ====&lt;br /&gt;
Cygwin 1.7 changed the way symlinks were created and handled when invoked from a command prompt. I couldn't find a way to force CB to use a unix-link shell, but was able to find a work around when perusing the Cygwin mailing lists.&lt;br /&gt;
&lt;br /&gt;
The symptom would show up with a message similar to the one below:&lt;br /&gt;
&lt;br /&gt;
  Execution of 'g++.exe -Wall -fexceptions  -g     -c c:/dev/code/cb1/main.cpp -o obj/Debug/main.o' in 'c:\dev\code\cb1' failed.&lt;br /&gt;
&lt;br /&gt;
Executing the same command from the CMD.EXE prompt yields an &amp;quot;Access is denied&amp;quot; message. This was how I was able to track down why the issue occurred. For more info, see this cygwin mailing list thread: http://www.mail-archive.com/cygwin@cygwin.com/msg104088.html&lt;br /&gt;
&lt;br /&gt;
'''Solution'''&lt;br /&gt;
&lt;br /&gt;
The solution is to point your compiler and linker directly to the version of gcc and g++ that you want to use.&lt;br /&gt;
&lt;br /&gt;
In my case, I wanted to use gcc-4.exe and g++-4.exe and so, I went into Settings-&amp;gt;Compiler and Debugger-&amp;gt;Toolchain executables. There I changed the &amp;quot;C Complier&amp;quot;, &amp;quot;C++ Compiler&amp;quot; and &amp;quot;Linker for dynamic libs&amp;quot; to point to gcc-4.exe, g++-4.exe and g++-4.exe.&lt;br /&gt;
&lt;br /&gt;
After this, compilation and linking worked fine.&lt;br /&gt;
&lt;br /&gt;
It would also be a good idea to add an environment variable CYGWIN with a value of nodosfilewarning in Settings-&amp;gt;Environment-&amp;gt;Environment Variables. This eliminates the following (harmless) warning message:&lt;br /&gt;
&lt;br /&gt;
  MS-DOS style path detected: c:/&lt;br /&gt;
    Preferred POSIX equivalent is: /c&lt;br /&gt;
    CYGWIN environment variable option &amp;quot;nodosfilewarning&amp;quot; turns off this warning.&lt;br /&gt;
    Consult the user's guide for more details about POSIX paths:&lt;br /&gt;
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames&lt;br /&gt;
&lt;br /&gt;
See also: [[Installing Cygwin Compiler]]&lt;br /&gt;
&lt;br /&gt;
==== (Unofficial) TDM - &amp;quot;Twilight Dragon Media&amp;quot; ====&lt;br /&gt;
These packages are called '''TDM's GCC/mingw32 Builds''' and can be obtained from [https://jmeubank.github.io/tdm-gcc/ here].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.1-tdm-2 SJLJ:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; 4.4.1-tdm-2 SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.1-tdm-2-core.zip&lt;br /&gt;
** gcc-4.4.1-tdm-2-g++.zip&lt;br /&gt;
* Components:&lt;br /&gt;
** binutils-2.19.1-mingw32-bin.tar.gz&lt;br /&gt;
** gdb-6.8-mingw-3.tar.bz2&lt;br /&gt;
** mingw32-make-3.81-20080326-3.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dev.tar.gz&lt;br /&gt;
** mingwrt-3.16-mingw32-dll.tar.gz&lt;br /&gt;
** w32api-3.13-mingw32-dev.tar.gz&lt;br /&gt;
These packages are included in both the Bundled Installer and the On-Demand Installer available via TDMs [https://jmeubank.github.io/tdm-gcc/download/ download page].&lt;br /&gt;
&lt;br /&gt;
=== Embarcadero C++ Compiler BCC32C ===&lt;br /&gt;
Formerly Borland's C++ Compiler, this compiler is now published by Embarcadero, with active on-going development; the current version is 10.1 as of this writing.  Go to [https://www.embarcadero.com/free-tools/ccompiler their product download page] to download.  You will be asked to enter some registration information (registration is free) then the download will begin.  You will receive a ZIP archive which contains installation instructions in a text file in the root directory of the archive; it does not have an installer program.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Intel C++ Compiler ===&lt;br /&gt;
Please note that on Windows platform, Intel C/C++ compiler requires ''Microsoft Visual C++[http://www.microsoft.com/express/download/offline.aspx]'' to be present in your system in order to function properly. It will not compile any C++ program without it. You should also note that ''Windows SDK[http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en]'' shall be installed in order to compile Windows app.&lt;br /&gt;
&lt;br /&gt;
Code::Blocks (C::B) is now able to detect (from svn revision 4967 onwards) Intel C/C++ compiler and it'll then automatically setup the MSVC compiler so that the Intel compiler works as intended. However if you wish to manually install the Intel C/C++ compiler, then follow the following steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''Settings &amp;gt; Compilers and debuggers''' and then select '''Intel C/C++ compiler'''.&lt;br /&gt;
* Click on the '''Toolchain executables''' tab. Point to the installation directory, e.g. &amp;lt;tt&amp;gt;C:\Program Files\Intel\Compiler\C++\10.1.020\IA32&amp;lt;/tt&amp;gt; , inside the ''Compiler's installation directory'' textbox.&lt;br /&gt;
* Click on the '''Additional Paths''' tab and fill in the directories pointing to MSVC bin directory and the Windows SDK directory. It may look like-&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\bin&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\bin&lt;br /&gt;
* Click on the '''Search directories''' tab and add the include directories containing headers offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK headers to '''Compiler''' and '''Resource compiler'''. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\include&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\include&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include&lt;br /&gt;
* Click on the '''Linker''' tab under '''Search directories''' tab and add the directories containing libraries offered by Intel C/C++ compiler, MSVC compiler and the Windows SDK. It may look like-&lt;br /&gt;
 C:\Program Files\Intel\Compiler\C++\10.1.020\IA32\lib&lt;br /&gt;
 C:\Program Files\Microsoft Visual Studio 8\VC\lib&lt;br /&gt;
 C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button to save the settings. Now you should be able to use Intel C/C++ compilers on Windows with C::B.&lt;br /&gt;
&lt;br /&gt;
Note: The directories specified above may be different on your PC.&lt;br /&gt;
&lt;br /&gt;
=== Digital Mars D Compiler for Windows ===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit Windows, and in future it will support 64bit Windows.&lt;br /&gt;
If you want to build D program in CodeBlocks on 32bit Windows, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Windows system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Windows http://www.digitalmars.com/d/2.0/dmd-windows.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here: https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''&lt;br /&gt;
&lt;br /&gt;
    2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field;&lt;br /&gt;
    2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib\phobos.lib'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;;&lt;br /&gt;
    2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\src\phobos'''&amp;quot; into the field;&lt;br /&gt;
    2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''D:\Program\DMD2\windows\lib'''&amp;quot; into the field;&lt;br /&gt;
    2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''D:\Program\DMD2\windows'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed;&lt;br /&gt;
          (if you installed DMD2 correctly acc. to Installation setp, just click 'Auto-detect' button.)&lt;br /&gt;
    2.7). Additional: If you wan to specify the DMC (Digital Mars C/C++ Compiler) you can do like this:&lt;br /&gt;
          click &amp;quot;Toolchain executables -&amp;gt; Additional Paths&amp;quot;, and add &amp;quot;D:\Program\DMC\bin&amp;quot; into the field.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;D:\Program\DMD2&amp;quot; or &amp;quot;D:\Program\DMC\bin&amp;quot; here should change to your own DMD or DMC path in your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, Code::Blocks supports the following compilers in Linux:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
* [http://www.digitalmars.com/d/2.0/dmd-linux.html Digital Mars D Compiler for Linux]&lt;br /&gt;
&lt;br /&gt;
===Digital Mars D Compiler for Linux===&lt;br /&gt;
Now Digital Mars D Compiler (DMD) supports 32bit and 64bit Linux, and 'support Linux library' is under construction. If you want to build D program in CodeBlocks on 32bit and 64bit Linux, please following the instructions as bellow.&lt;br /&gt;
&lt;br /&gt;
1). Install DMD(2.0) into your Linux system.&lt;br /&gt;
&lt;br /&gt;
You should correctly combine the DMD compiler and install it into your system. Please view the instructions on digitalmars.com website.&lt;br /&gt;
DMD for Linux http://www.digitalmars.com/d/2.0/dmd-linux.html&lt;br /&gt;
&lt;br /&gt;
The newest DMD2 source you can get here:&lt;br /&gt;
https://github.com/D-Programming-Language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2). Settings in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
A). 32bit Linux &amp;amp; 32bit DMD2.&lt;br /&gt;
&lt;br /&gt;
On 32bit Linux, you should combine 32bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD pathes into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    A.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    A.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m32'''  into the field.&lt;br /&gt;
    A.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    A.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    A.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    A.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    A.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B1). 64bit Linux &amp;amp; '''64bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 64bit DMD2 from DMD2 source and install it into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B1.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B1.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add  '''-m64'''  into the field.&lt;br /&gt;
    B1.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B1.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B1.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib64'''&amp;quot; into the field. &lt;br /&gt;
    B1.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B1.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m64 -lrt'''&amp;quot; or &amp;quot;'''gcc -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B2). 64bit Linux with '''32bit DMD2'''.&lt;br /&gt;
&lt;br /&gt;
On 64bit Linux, you can combine 32bit DMD2 with 64bit together from DMD2 source and install them into your system.&lt;br /&gt;
&lt;br /&gt;
You should add correct DMD paths into CodeBlocks '''Global compiler settings'''.&lt;br /&gt;
&lt;br /&gt;
    B2.1). &amp;quot;Settings -&amp;gt; Compiler and debugger settings&amp;quot; and choose compiler to &amp;quot;'''Digital Mars D Compiler'''&amp;quot;;&lt;br /&gt;
    B2.2). click &amp;quot;Compiler settings -&amp;gt; Other options&amp;quot;, add '''-m32''' into the field.&lt;br /&gt;
    B2.3). click &amp;quot;Linker settings&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32/libphobos2.a'''&amp;quot; into the &amp;quot;Link libraries&amp;quot;. &lt;br /&gt;
    B2.4). click &amp;quot;Search directories -&amp;gt; Compiler&amp;quot;, and add &amp;quot;'''/opt/dmd2/src/phobos'''&amp;quot; into the field.&lt;br /&gt;
    B2.5). click &amp;quot;Search directories -&amp;gt; Linker&amp;quot;, and add &amp;quot;'''/opt/dmd2/linux/lib32'''&amp;quot; into the field. &lt;br /&gt;
    B2.6). click &amp;quot;Toolchain executables&amp;quot;, add &amp;quot;'''/opt/dmd2/linux'''&amp;quot; into the &amp;quot;Compiler's installation directory&amp;quot; filed.&lt;br /&gt;
    B2.7). change the value of &amp;quot;Program Files -&amp;gt; Linker for dynamic libs&amp;quot; to &amp;quot;'''gcc -m32 -lrt'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you installed DMD2 to a different path, please modify &amp;quot;/opt/dmd2&amp;quot; to your own DMD2 path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3). Testing D program in CodeBlocks.&lt;br /&gt;
&lt;br /&gt;
In CodeBlocks, produce a '''D Application''' project, and input your own D code into the .d file in the project, then '''build/run'''.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install a ''compatible'' version Xcode Tools from http://developer.apple.com/tools/ (or http://developer.apple.com/downloads). You need the &amp;quot;Command Line Tools&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
=== Setting up compiler switches ===&lt;br /&gt;
&lt;br /&gt;
Usually you need to tweak the compiler options to be able to compile C++ applications - that's the stuff Xcode hides from your eyes, but you better should know. You need to point to the GNU compiler's C/C++ include folders, to the GNU linkers libraries folder and a adjust the compiler options to setup the GNU compiler root path. Those path's differ depending on what hardware (processor architecture) and what version of MacOS is used. For an Intel based Mac with MacOS 10.6.2 and Xcode v3.2.2 the following should work:&lt;br /&gt;
&lt;br /&gt;
Compiler search directories (&amp;quot;include&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linker search directories (&amp;quot;library&amp;quot; folders):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional compiler flags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Compilation ==&lt;br /&gt;
Remote compilation is not directly supported by Code::Blocks, however, the following articles explain two remote compilation systems, which use 3rd party programs to provide this functionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;br /&gt;
&lt;br /&gt;
== Misc. Custom Compilers ==&lt;br /&gt;
There are several user contributions for different (non-C/C++) compiler which are listed here:&lt;br /&gt;
&lt;br /&gt;
https://wiki.codeblocks.org/index.php?title=User_documentation#Compilers&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9764</id>
		<title>FAQ-General</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9764"/>
		<updated>2023-09-11T19:47:27Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Q: What is Code::Blocks? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).&lt;br /&gt;
&lt;br /&gt;
==== Q: What Code::Blocks is not? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided &amp;quot;as-is&amp;quot; and not developed/maintained by the Code::Blocks development team.&lt;br /&gt;
&lt;br /&gt;
==== Q: What license is Code::Blocks released under? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.&lt;br /&gt;
&lt;br /&gt;
==== Q: When will the next stable version of Code::Blocks be released? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' It was promised to be released after summer holidays of 2023 ([https://forums.codeblocks.org/index.php/topic,25371.0.html forum post]).&lt;br /&gt;
&lt;br /&gt;
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Yes, this is implemented, but you'll need the [[help plugin]]. So if you are using the installer, make sure you enable this plugin.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9763</id>
		<title>FAQ-General</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9763"/>
		<updated>2023-09-11T19:45:59Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Q: What is Code::Blocks? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).&lt;br /&gt;
&lt;br /&gt;
==== Q: What Code::Blocks is not? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided &amp;quot;as-is&amp;quot; and not developed/maintained by the Code::Blocks development team.&lt;br /&gt;
&lt;br /&gt;
==== Q: What license is Code::Blocks released under? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.&lt;br /&gt;
&lt;br /&gt;
==== Q: When will the next stable version of Code::Blocks be released? ====&lt;br /&gt;
&lt;br /&gt;
It was promised to be released after summer holidays of 2023 ([https://forums.codeblocks.org/index.php/topic,25371.0.html forum post]).&lt;br /&gt;
&lt;br /&gt;
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Yes, this is implemented, but you'll need the [[help plugin]]. So if you are using the installer, make sure you enable this plugin.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9762</id>
		<title>FAQ-General</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=FAQ-General&amp;diff=9762"/>
		<updated>2023-09-11T19:42:02Z</updated>

		<summary type="html">&lt;p&gt;MichaelAgarkov: Added information about the time when the next stable release is promised to be out.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Q: What is Code::Blocks? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).&lt;br /&gt;
&lt;br /&gt;
==== Q: What Code::Blocks is not? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided &amp;quot;as-is&amp;quot; and not developed/maintained by the Code::Blocks development team.&lt;br /&gt;
&lt;br /&gt;
==== Q: What license is Code::Blocks released under? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.&lt;br /&gt;
&lt;br /&gt;
==== Q: When will the next stable version of Code::Blocks be released? ====&lt;br /&gt;
&lt;br /&gt;
It was promised to be released after summer holidays of 2023 ([https://forums.codeblocks.org/index.php/topic,25371.0.html forum post])&lt;br /&gt;
&lt;br /&gt;
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====&lt;br /&gt;
&lt;br /&gt;
'''A:''' Yes, this is implemented, but you'll need the [[help plugin]]. So if you are using the installer, make sure you enable this plugin.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Return to '''[[FAQ]]'''.&lt;/div&gt;</summary>
		<author><name>MichaelAgarkov</name></author>
	</entry>
</feed>