MinGW-w64 - for 32 and 64 bit Windows sourceforge.net 翻到下面 ,找到我们需要的编译器套件 ( 64位系统推荐x8664 的版本, 32位系统 则最好先换系统,否则 只能用i686 的; (win32和posix代表线程模型,seh、sjlj、dwarf代表不同的异常处理模式,理论上都可以随便选),这里以. #MinGW A portable version of MinGW prepared for OpenGL development. Copy the MinGW folder to the root of the drive which has a project you want to compile. For example if your project is in C: Users username Documents then the MinGW folder needs to be placed in C: MinGW. Create an GNU Makefile and call it Makefile.
- 2TDM-GCC
- 4Development Tools
Overview
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 'MinGW' toolchains. Which means 'Minimalist GNU for Windows.' And 'GNU' expands to 'GNU's Not Unix.' More information about the GNU project can be found on the GNU Home Page.
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 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.
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.
Installation
Download the on-demand installer and run it.
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.
Once you are ready, click Install to proceed.
Code::Blocks Configuration
Go to your Compiler settings:
And then under the 'Toolchain executables' tab (red arrow), click on the ellipsis ('..', blue arrow) and choose the root directory where you installed TDM-GCC 32-bit. Once you have that directory chosen, in the 'Program Files' 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 'Program Files' you will already be in your TDM-GCC bin directory where the actual programs are.
Now, go to your Debugger settings:
Choose your default debugger (red arrow), and then fill in the Executable path for it as shown for TDM-GCC 32-bit (blue arrow).
Summary
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.
Alternative MinGW Compiler Toolchains
MinGW - The original project.
MinGW-Builds ➡ In, 'Toolchains targeting Win32 or Win64,' ➡ 'Personal Builds,' ➡ 'mingw-builds,' ➡ Version, ➡ Threading Model, ➡ Exception Model, ➡ Revision.
Mingw-w64 - The parent project of MinGW-Builds, includes much more than is necessary - MinGW-Builds will usually suffice instead of the full works.
Mingw W64 Download
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.
Celeste Classic Devlog Help Madeline survive her journey to the top of Celeste Mountain in this super-tight, hand-crafted platformer from the creators of TowerFall. Nintendo Switch PlayStation 4 Xbox One itch.io Steam Epic Games Store. 2 min read; Celeste - Sora Extra Soundtrack Torrent Download key Updated: Mar 25 Mar 25.
Installation
Download the on-demand installer and run it.
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.
Once you are ready, click Install to proceed.
Code::Blocks Configuration
Go to your Compiler settings:
And then under the 'Toolchain executables' tab (red arrow), click on the ellipsis ('..', blue arrow) and choose the root directory where you installed TDM-GCC 32-bit. Once you have that directory chosen, in the 'Program Files' 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 'Program Files' you will already be in your TDM-GCC bin directory where the actual programs are.
Now, go to your Debugger settings:
Choose your default debugger (red arrow), and then fill in the Executable path for it as shown for TDM-GCC 32-bit (blue arrow).
Summary
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.
Alternative MinGW Compiler Toolchains
MinGW - The original project.
MinGW-Builds ➡ In, 'Toolchains targeting Win32 or Win64,' ➡ 'Personal Builds,' ➡ 'mingw-builds,' ➡ Version, ➡ Threading Model, ➡ Exception Model, ➡ Revision.
Mingw-w64 - The parent project of MinGW-Builds, includes much more than is necessary - MinGW-Builds will usually suffice instead of the full works.
Mingw W64 Download
MinGW Equation - A package that also provides OpenMP.
Development Tools
Normally you should not need many of these tools. ZIP is convenient, especially when: building Code::Blocks itself, but other than that these tools only serve specialized purposes.
UnxUtils
Mingw W64 Offline Installer
GnuWin32
ZIP
Mingw W64 Offline Installer Ubuntu
- zip-3.0.0 32-bit or zip-3.0.0 64-bit