Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between Mingw-w64 and TDM-GCC for a simple GDI project

I need to build a simple non-commercial tool (dealing with Windows GDI API) on Win64 for Win64 (no cross compilation). MinGW seems the best option for me.
I have already used the 32 bit version in the past, as for 64-bit, can you tell me the main differences between the following builds?:

  1. Mingw-w64
  2. TDM-GCC

Besides the classic MinGW32 used a straightforward tool, mingw-get.exe, to customise the setup and keep up with the updating cycle. Which is the equivalent now?

like image 966
antonio Avatar asked Aug 28 '14 00:08

antonio


People also ask

What is difference between TDM-GCC and MinGW?

GCC stands for GNU Compiler Collection — on open source collection of compilers for various languages based on a common core compiler and linker. MinGW stands for Minimal GNU for Windows. This is a copy GCC plus other common utilities and libraries used in compiling and linking C or C++ code using the GNU tools.

What is the difference between MinGW and GCC?

GCC (GNU Compiler Collection) is a free and open source compiler for C and C++ (and other languages like Objective-C, Fortran, D). MinGW-w64 is a free and open source C library for targetting Windows 32-bit and 64-bit platforms. The combination of these results in a free C/C++ compiler for Windows.

Is TDM-GCC in MinGW?

TDM-GCC is a compiler suite for Windows. It combines the most recent stable release of the GCC compiler, a few patches for Windows-friendliness, and the free and open-source MinGW.org or MinGW-w64 runtime APIs, to create a more lightweight open-source alternative to Microsoft's compiler and platform SDK.

What is the difference between MinGW and MinGW-w64?

MinGW-w64 is a improved version which supports both 32bit and 64bit, and some more of the WinAPI (still not all, because thats much work, but more than MinGW). MinGW-w64 only provides their source code, but no binaries to "just use" the compiler.


2 Answers

I've posted a short overview of MinGW / MinGW-w64 / TDM-GCC here: What is the difference between Orwell's MinGW and TDM Dev-C++ versions?

Which is the equivalent now?

It seems, there's no MinGW-W64 version of mingw-get; not sure if this is still valid. However, MinGW-w64 contains a nice installer.

Btw. MinGW-w64 is not just a "64 Bit port of MinGW" - it's more.

like image 159
ollo Avatar answered Sep 21 '22 18:09

ollo


This is a late answer, but I have this same question and I was looking for by many hours and this is what I found...

I think that this link can to expand our view of the differences that include every distro, although the recommendation summary is based in their UI framework library (Qt 5)...

http://qt-project.org/wiki/MinGW-64-bit

like image 21
Nibble Avatar answered Sep 21 '22 18:09

Nibble