Why aren't gcc 4.xx compilers installed by MinGW installed by default?

Currently, MinGW only installs version 3.xx of the gcc compiler by default. However, it seems that a number of compilers of version 4.xx have been missing for a long time, while others have mentioned , it seems that everything is working fine. Is there a reason why it has not yet migrated to versions 4.xx, and why shouldn't I use newer versions of gcc?

+3
source share
3 answers

GCC4 C ++ ABI has changed from GCC3, and it includes many new features (such as its tree vectorization) that many people still consider "experimental." For this reason, there are still several Linux distributions that still use GCC3.

+2
source

The TDM GCC / MinGW32 build installer includes gcc 4.4.x and all the basic binary packages needed for basic Windows development, including gdb. It is widely used without any unusual problems.

+4
source

The problem is that they changed the mechanism for handling exceptions in such a way that they violate the ABI. This means that you cannot (for example) abandon the new compiler and continue to use the old object files and / or libraries. You must recompile everything from the source code to get working results in general.

+3
source

Source: https://habr.com/ru/post/1720125/


All Articles