xcodelovers

Just Sharing Knowledge

Tag Archives: compiler

Tutorial Installing TDM-GCC (Windows)

TDM-GCC is free compiler package installation for windows 32/64 bit. It combines the most recent stable release of the GCC (GNU Compiler Collection) toolset with the free and open-source MinGW (Minimalist GNU for Windows) runtime APIs to create library for Microsoft Compiler and SDK platform. You can find more detailed information on the official website TDM-GCC.

Ok, lets we jump to the installation step.

  1. Download TDM-GCC from here. Select installation package compatible with your windows platform (32/64 bit). In this tutorial we use windows platform 32 bit. So we must select “tdm-gcc-4.5.1.exe”.
  2. After download complete you just simply double click on the file and then you will see a dialog setup option like image below. Click on “Create” button.
  3. On the next screen you will see a dialog to select type edition windows paltform (32/64 bit) like image below. Choose “MinGW/TDM (32-bit)” and then click on “Next” button.
  4. On the next screen you will see a dialog to select directory installation like image below. In this tutorial we use default directory “C:\MinGW32” and then click “Next” button.
  5. And next we will see a dialog selection of dowload for update mirror like image below. Just leave the option and then click “Next” button.
  6. On the next screen you will see a dialog to select type of installation like image below. Just leave it and then click on “Install” button.
  7. Wait until the installation process is complete. Next, you will see a dialog complete installation and then click “Next” button like image below.
  8. Finally you will see a dialog information complete setup wizard and then just click “Finish” button.
  9. Now, TDM-GCC is ready to use. If you want to create project base on this compiler you may choose a lot of Editor IDE such as Eclipse, Code::Blocks, DevC++..etc. See my other Tutorial how to integrate Code::Block and MinGW or Tutorial how to integrate Eclipse and MinGW…Good Luck

What is Code::Blocks ?

Code::Blocks is a free open source IDE (Integrated Development Environment) for C/C++ programming code that can be run on cross platform (Windows, Linux, and Mac OS X). It is support multiple compilers, including MinGW / GCC, Digital Mars, Microsoft Visual C++, Borland C++, Watcom, LCC and the Intel C++ compiler.

The IDE was designed for the C++ language but also support for other compilers languages, including GNU Fortran, Digital Mars D and GNU GDC. If you ever seen Microsoft Visual C++ IDE before, this Code::Blocks IDE is similar like that. Interest and want to learn about Code::Blocks ? Absolutely yes…look at screen shoot below you can built many project with this IDE.

You can find more detail information about Code::Blocks in the Code::Blocks Website or Official Wiki Code::Blocks.
If you interested and want to try Code::Blocks IDE see my tutorial Code::Blocks in this blog.