<?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=Scaryjeff</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=Scaryjeff"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Scaryjeff"/>
	<updated>2026-05-02T15:16:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6168</id>
		<title>Using Xming for remote compilation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6168"/>
		<updated>2009-11-13T15:56:04Z</updated>

		<summary type="html">&lt;p&gt;Scaryjeff: More detailed introduction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This article explains how to set up true remote compilation, without using any local file stores. Note that it assumes a custom makefile, and that to actually edit your files in C::B, the remote source directories must be shared, and mapped to a local drive. &lt;br /&gt;
Typically this will use a samba share on the remote system, but it is possible to map FTP or SFTP servers to windows drives as well.&lt;br /&gt;
&lt;br /&gt;
The method described is for remote compiling where C::B is running on a windows system, and the remote compilation is to take place on a linux system. An instance of C::B running on Linux or Mac should be able to use a similar method, using 'ssh' as the 'make' command, employing a 'keys' file to avoid being prompted for an ssh password.&lt;br /&gt;
&lt;br /&gt;
== Method ==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 1&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Download and install Xming (windows X server) from http://sourceforge.net/projects/xming/ . It will sit in the systray.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 2&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Open or create your project, and choose any compiler you have installed that actually works (i.e. doesn't give you an 'Invalid Compiler' message when you try to build). The easiest way to achieve this is to use the C::B installer that includes MinGW. It doesn't matter if your remote compiler is completely different to the one you choose here.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 3:&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In the project properties, &amp;quot;Project Settings&amp;quot;, select &amp;quot;This is a custom Makefile&amp;quot;, &amp;lt;OK&amp;gt;. Now in the project build options, &amp;quot;'Make' Commands&amp;quot;, enter:&lt;br /&gt;
 $make -X -ssh RemoteUser@RemoteIP -pw RemotePassword ''make all'' -C /path/to/remote/makefile/&lt;br /&gt;
Note that your remote password is stored in plaintext, not everyone will like this! Also, the path to the remote makefile is relative to the root of the remote machine, for example /home/username/myproject.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ''make all'' is specific to my Makefile. You can obviously modify this for the different build types implemented in your Makefile. I set all the make commands to be the same, with the exception of &amp;quot;Clean project/target&amp;quot;, where I used ''make clean'', which is implemented in my Makefile. Do this for all the build profiles (in my case, &amp;quot;Debug&amp;quot; and &amp;quot;Release&amp;quot;). &amp;lt;OK&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 4 (nightly builds only)&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
If you are using a C::B build newer than January 2009, you may need to fill in the &amp;quot;Ask if rebuild is needed&amp;quot; make command in the &amp;quot;'Make' Commands&amp;quot; tab. This is the same command as in step 3, but with ''make -q'' in place of ''make all''. For the 11/11/09 nightly build, I had to use ''make-q'' (i.e. without the space) for this to work. You must also change &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Other settings&amp;quot;, &amp;quot;Compiler logging&amp;quot; to &amp;quot;Full command line&amp;quot;, or else you will receive a &amp;quot;Nothing to be done.&amp;quot; message when you try to build.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 5&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Toolchain executables&amp;quot;, change the &amp;quot;Make program&amp;quot; to &amp;quot;plink.exe&amp;quot;, and add the Xming install path in the &amp;quot;Additional paths&amp;quot; tab (typically &amp;quot;C:\Program Files\Xming&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 6&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Build the project. The first time you do this, you will be prompted with a &amp;quot;PuTTY Security Alert&amp;quot;. Click &amp;quot;Yes&amp;quot; and the remote server will be added to your list of trusted hosts. Note that if you have used PuTTY before, this can go wrong. If you are being prompted for a username and password, try deleting the registry key &amp;quot;HKEY_CURRENT_USER/Software/Simon Tatham/PuTTY&amp;quot;. Note that this could mess up your PuTTY configurations (it might not; this was not checked).&lt;/div&gt;</summary>
		<author><name>Scaryjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6167</id>
		<title>Using Xming for remote compilation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6167"/>
		<updated>2009-11-13T15:48:12Z</updated>

		<summary type="html">&lt;p&gt;Scaryjeff: added category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This article explains how to set up true remote compilation, without using any local file stores. Note that it assumes a custom makefile, and is for remote compiling where C::B is running on a windows system, and the remote compilation is to take place on a linux system. An instance of C::B running on Linux or Mac should be able to use a similar method, using 'ssh' as the 'make' command, employing a 'keys' file to avoid being prompted for an ssh password.&lt;br /&gt;
&lt;br /&gt;
== Method ==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 1&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Download and install Xming (windows X server) from http://sourceforge.net/projects/xming/ . It will sit in the systray.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 2&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Open or create your project, and choose any compiler you have installed that actually works (i.e. doesn't give you an 'Invalid Compiler' message when you try to build). The easiest way to achieve this is to use the C::B installer that includes MinGW. It doesn't matter if your remote compiler is completely different to the one you choose here.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 3:&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In the project properties, &amp;quot;Project Settings&amp;quot;, select &amp;quot;This is a custom Makefile&amp;quot;, &amp;lt;OK&amp;gt;. Now in the project build options, &amp;quot;'Make' Commands&amp;quot;, enter:&lt;br /&gt;
 $make -X -ssh RemoteUser@RemoteIP -pw RemotePassword ''make all'' -C /path/to/remote/makefile/&lt;br /&gt;
Note that your remote password is stored in plaintext, not everyone will like this! Also, the path to the remote makefile is relative to the root of the remote machine, for example /home/username/myproject.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ''make all'' is specific to my Makefile. You can obviously modify this for the different build types implemented in your Makefile. I set all the make commands to be the same, with the exception of &amp;quot;Clean project/target&amp;quot;, where I used ''make clean'', which is implemented in my Makefile. Do this for all the build profiles (in my case, &amp;quot;Debug&amp;quot; and &amp;quot;Release&amp;quot;). &amp;lt;OK&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 4 (nightly builds only)&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
If you are using a C::B build newer than January 2009, you may need to fill in the &amp;quot;Ask if rebuild is needed&amp;quot; make command in the &amp;quot;'Make' Commands&amp;quot; tab. This is the same command as in step 3, but with ''make -q'' in place of ''make all''. For the 11/11/09 nightly build, I had to use ''make-q'' (i.e. without the space) for this to work. You must also change &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Other settings&amp;quot;, &amp;quot;Compiler logging&amp;quot; to &amp;quot;Full command line&amp;quot;, or else you will receive a &amp;quot;Nothing to be done.&amp;quot; message when you try to build.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 5&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Toolchain executables&amp;quot;, change the &amp;quot;Make program&amp;quot; to &amp;quot;plink.exe&amp;quot;, and add the Xming install path in the &amp;quot;Additional paths&amp;quot; tab (typically &amp;quot;C:\Program Files\Xming&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 6&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Build the project. The first time you do this, you will be prompted with a &amp;quot;PuTTY Security Alert&amp;quot;. Click &amp;quot;Yes&amp;quot; and the remote server will be added to your list of trusted hosts. Note that if you have used PuTTY before, this can go wrong. If you are being prompted for a username and password, try deleting the registry key &amp;quot;HKEY_CURRENT_USER/Software/Simon Tatham/PuTTY&amp;quot;. Note that this could mess up your PuTTY configurations (it might not; this was not checked).&lt;/div&gt;</summary>
		<author><name>Scaryjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=6166</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=6166"/>
		<updated>2009-11-13T15:47:28Z</updated>

		<summary type="html">&lt;p&gt;Scaryjeff: Added remote compilation section&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;
== 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 G77 (Fortran)]&lt;br /&gt;
* [http://mspgcc.sourceforge.net/ MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ PowerPC GCC C/C++]&lt;br /&gt;
* [http://msdn.microsoft.com/visualc/vctoolkit2003 Microsoft's Visual C++ Free Toolkit 2003]&lt;br /&gt;
* [http://www.borland.com/products/downloads/download_cbuilder.html Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://store.scitechsoft.com/product_info.php?products_id=37/ OpenWatcom Free C/C++ 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;
&lt;br /&gt;
=== MinGW/GCC ===&lt;br /&gt;
The official MinGW website is at [http://www.mingw.org mingw.org]. 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 [/index.php/topic,10508.0.html] or [http://www.tdragon.net/recentgcc/].&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.org ====&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 [http://www.mingw.org mingw.org], here: [http://sourceforge.net/projects/mingw/files/].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for MinGW/GCC v3.4.5:&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;
Packages required (suggested) for MinGW/GCC v4.4.0:&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-full-4.4.0-mingw32-bin-2.tar.lzma&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;
==== (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 [/index.php/topic,10508.0.html] or [http://www.tdragon.net/recentgcc/].&lt;br /&gt;
&lt;br /&gt;
Packages required (suggested) for TDM's GCC/mingw32 Builds v4.4.0:&lt;br /&gt;
...which can be found here: [http://sourceforge.net/projects/tdm-gcc/files/] under: TDM-GCC 4.4 series -&amp;gt; Previous Releases -&amp;gt; 4.4.0-tdm-1 (r2) SJLJ.&lt;br /&gt;
* Compiler:&lt;br /&gt;
** gcc-4.4.0-tdm-1-core-2.zip&lt;br /&gt;
** gcc-4.4.0-tdm-1-g++-2.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.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;
=== Microsoft Visual C++ ===&lt;br /&gt;
The official Visual C++ website is at [http://msdn.microsoft.com/en-us/visualc/default.aspx http://msdn.microsoft.com/en-us/visualc/default.aspx].&lt;br /&gt;
&lt;br /&gt;
Code::Blocks will work with any edition of Visual C++ since the 2003 edition (MSVC 7.1). The commercial editions of Visual Studio may require additional configuration in Code::Blocks to work correctly. You can also download the most recent &amp;quot;Express&amp;quot; edition of Visual C++ for free from [http://www.microsoft.com/express/vc/ microsoft.com/express/vc]. If you choose an &amp;quot;Express&amp;quot; edition of Visual C++, it is highly recommended that you also install Microsoft's Platform SDK in order to develop programs for Windows.&lt;br /&gt;
&lt;br /&gt;
=== Borland C++ Compiler 5.5 ===&lt;br /&gt;
NOTE: ''At some point, you will be asked to register with Borland and fill out a survey. Registration is free.''&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.borland.com/products/downloads/download_cbuilder.html# Borland's downloads] and click on the link labeled &amp;quot;Compiler&amp;quot;. After you accept the license agreement, you will be provided with download links to the setup file.&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;
&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;
&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;
&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 Xcode Tools from http://developer.apple.com/tools/&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;
http://www.gnu.org/software/gdb/&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Now that you have downloaded the setup file of the compiler of your choice, launch its installation by double-clicking on the setup file. The actual installation process is really simple. Just press &amp;quot;Next&amp;quot; all the way and you 're done.&lt;br /&gt;
&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure. Launch Code::Blocks and you 're all set :)&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;
== 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 funcionality:&lt;br /&gt;
&lt;br /&gt;
[[Installing Uniwin remote compiler]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Using Xming for remote compilation]]&lt;/div&gt;</summary>
		<author><name>Scaryjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User_documentation&amp;diff=6165</id>
		<title>User documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User_documentation&amp;diff=6165"/>
		<updated>2009-11-13T15:30:25Z</updated>

		<summary type="html">&lt;p&gt;Scaryjeff: /* Compilers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:User Documentation]]&lt;br /&gt;
== Official user document ==&lt;br /&gt;
The Official Code::Blocks user document can be found [https://www.codeblocks.org/user-manual here]&lt;br /&gt;
&lt;br /&gt;
== Articles for Code::Blocks users ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[Installing Code::Blocks]]'''&lt;br /&gt;
&lt;br /&gt;
:How to install Code::Blocks (from binary or source)&lt;br /&gt;
&lt;br /&gt;
'''[[Keyboard Shortcuts]]'''&lt;br /&gt;
&lt;br /&gt;
:List of keyboard shortcuts that can be used in Code::Blocks&lt;br /&gt;
&lt;br /&gt;
'''[[Command line arguments]]'''&lt;br /&gt;
&lt;br /&gt;
:List of command-line arguments that can be used with Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[Personalities]]'''&lt;br /&gt;
&lt;br /&gt;
:Customize the Code::Blocks user interface for different workflows.&lt;br /&gt;
&lt;br /&gt;
'''[[Code::Blocks Plugins]]'''&lt;br /&gt;
&lt;br /&gt;
:List of plugins that come with Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[The build process of Code::Blocks]]'''&lt;br /&gt;
&lt;br /&gt;
:Information about how Code::Blocks actually builds your source code.&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;
'''[[wxSmith tutorials]]'''&lt;br /&gt;
:Information about how to use wxSmith RAD editor&lt;br /&gt;
&lt;br /&gt;
'''[[Building an Non-Unicode Win32 Code::Blocks]]'''&lt;br /&gt;
:Information about how to modify the Code::Blocks project files for an Non-Unicode build of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[Miscellaneous]]'''&lt;br /&gt;
:Miscellaneous things related to the user development experience.  This is a catch all place.&lt;br /&gt;
&lt;br /&gt;
== Application development ==&lt;br /&gt;
&lt;br /&gt;
* [[Builtin variables]]&lt;br /&gt;
* [[Recommended global variables]]&lt;br /&gt;
* [[Code::Blocks variable types synthesis]]&lt;br /&gt;
* [[Debugging with Code::Blocks]]&lt;br /&gt;
* [[Adding support for non C/C++ files to the build system]]&lt;br /&gt;
&lt;br /&gt;
== Compilers ==&lt;br /&gt;
&lt;br /&gt;
* [[Global compiler variables]]&lt;br /&gt;
* [[Precompiled headers]]&lt;br /&gt;
* [[Installing a supported compiler]]&lt;br /&gt;
* [[Installing Cygwin Compiler]]&lt;br /&gt;
* [[Installing Fortran Compiler]]&lt;br /&gt;
* [[Installing Uniwin remote compiler]]&lt;br /&gt;
* [[Using Xming for remote compilation]]&lt;br /&gt;
* [[Code::Blocks_and_Cross_Compilers|Using cross compilers]]&lt;br /&gt;
* [[Cross_Compiling_wxWidgets_Applications_on_Linux|Cross compiling wxWidgets applications on Linux]]&lt;br /&gt;
* [[Integrating Microsoft Visual Toolkit 2003 with Code::Blocks IDE]]&lt;br /&gt;
* [[Integrating Microsoft Visual C 6 with Code::Blocks IDE]]&lt;br /&gt;
* [[64Bit Windows|Setting up for 64-bit windows development with Mirosoft compilers]]&lt;br /&gt;
* [[Using the Code::Blocks IDE with SDCC on PIC MCUs]]&lt;br /&gt;
* [[Using Code::Blocks with Open Watcom]]&lt;br /&gt;
&lt;br /&gt;
== User interface development ==&lt;br /&gt;
&lt;br /&gt;
* [[WxSmith Tutorial &amp;amp; Pointers|Creating a dialog for wxWidgets with wxSmith]]&lt;br /&gt;
&lt;br /&gt;
== Third-party libraries ==&lt;br /&gt;
&lt;br /&gt;
* [[BoostWindowsQuickRef|Using Boost with Code::Blocks (Windows)]]&lt;br /&gt;
* [[WxWindowsQuickRef|Using wxWidgets with Code::Blocks (Windows)]]&lt;br /&gt;
* [[Using SDL with Code::Blocks]]&lt;br /&gt;
* [[Using GLFW with Code::Blocks]]&lt;br /&gt;
* [[Using Allegro with Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
== Third-party Applications ==&lt;br /&gt;
&lt;br /&gt;
* [[KiCadBuildQuickRef|How-to build KiCad with Code::Blocks]]&lt;/div&gt;</summary>
		<author><name>Scaryjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6164</id>
		<title>Using Xming for remote compilation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation&amp;diff=6164"/>
		<updated>2009-11-13T15:29:36Z</updated>

		<summary type="html">&lt;p&gt;Scaryjeff: First version of page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This article explains how to set up true remote compilation, without using any local file stores. Note that it assumes a custom makefile, and is for remote compiling where C::B is running on a windows system, and the remote compilation is to take place on a linux system. An instance of C::B running on Linux or Mac should be able to use a similar method, using 'ssh' as the 'make' command, employing a 'keys' file to avoid being prompted for an ssh password.&lt;br /&gt;
&lt;br /&gt;
== Method ==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 1&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Download and install Xming (windows X server) from http://sourceforge.net/projects/xming/ . It will sit in the systray.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 2&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Open or create your project, and choose any compiler you have installed that actually works (i.e. doesn't give you an 'Invalid Compiler' message when you try to build). The easiest way to achieve this is to use the C::B installer that includes MinGW. It doesn't matter if your remote compiler is completely different to the one you choose here.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 3:&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In the project properties, &amp;quot;Project Settings&amp;quot;, select &amp;quot;This is a custom Makefile&amp;quot;, &amp;lt;OK&amp;gt;. Now in the project build options, &amp;quot;'Make' Commands&amp;quot;, enter:&lt;br /&gt;
 $make -X -ssh RemoteUser@RemoteIP -pw RemotePassword ''make all'' -C /path/to/remote/makefile/&lt;br /&gt;
Note that your remote password is stored in plaintext, not everyone will like this! Also, the path to the remote makefile is relative to the root of the remote machine, for example /home/username/myproject.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ''make all'' is specific to my Makefile. You can obviously modify this for the different build types implemented in your Makefile. I set all the make commands to be the same, with the exception of &amp;quot;Clean project/target&amp;quot;, where I used ''make clean'', which is implemented in my Makefile. Do this for all the build profiles (in my case, &amp;quot;Debug&amp;quot; and &amp;quot;Release&amp;quot;). &amp;lt;OK&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 4 (nightly builds only)&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
If you are using a C::B build newer than January 2009, you may need to fill in the &amp;quot;Ask if rebuild is needed&amp;quot; make command in the &amp;quot;'Make' Commands&amp;quot; tab. This is the same command as in step 3, but with ''make -q'' in place of ''make all''. For the 11/11/09 nightly build, I had to use ''make-q'' (i.e. without the space) for this to work. You must also change &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Other settings&amp;quot;, &amp;quot;Compiler logging&amp;quot; to &amp;quot;Full command line&amp;quot;, or else you will receive a &amp;quot;Nothing to be done.&amp;quot; message when you try to build.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 5&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
In &amp;quot;Settings&amp;quot;, &amp;quot;Compiler and debugger&amp;quot;, &amp;quot;Global compiler settings&amp;quot;, &amp;quot;Toolchain executables&amp;quot;, change the &amp;quot;Make program&amp;quot; to &amp;quot;plink.exe&amp;quot;, and add the Xming install path in the &amp;quot;Additional paths&amp;quot; tab (typically &amp;quot;C:\Program Files\Xming&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;Step 6&amp;lt;/u&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Build the project. The first time you do this, you will be prompted with a &amp;quot;PuTTY Security Alert&amp;quot;. Click &amp;quot;Yes&amp;quot; and the remote server will be added to your list of trusted hosts. Note that if you have used PuTTY before, this can go wrong. If you are being prompted for a username and password, try deleting the registry key &amp;quot;HKEY_CURRENT_USER/Software/Simon Tatham/PuTTY&amp;quot;. Note that this could mess up your PuTTY configurations (it might not; this was not checked).&lt;/div&gt;</summary>
		<author><name>Scaryjeff</name></author>
	</entry>
</feed>