Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Smilence on May 10, 2020, 11:53:27 am

Title: Will C::B change the included compiler back to TDM-GCC?
Post by: Smilence on May 10, 2020, 11:53:27 am

After a long time  silence(few years), the TDM-GCC updated. It's based on GCC 9.2.0  now.
Will C::B(includes mingw-w64-gcc 8.1 currently) change the included compiler back to TDM-GCC?
Title: Re: Will C::B change the included compiler back to TDM-GCC?
Post by: oBFusCATed on May 10, 2020, 12:32:18 pm
Nope, this version of TDM cannot compile correcly C::B from the reports I've seen.

Why do you want it changed?
No one stops you from using whatever compiler you like.
We provide a release with compiler just for convenience.
Title: Re: Will C::B change the included compiler back to TDM-GCC?
Post by: pabristow on May 12, 2020, 10:44:25 am
FWIW, I have found that the GCC mingw-w64 packaged releases from winlibs.com to work fine with Codeblocks 20.03.

I download a zip and unpack, for example, so that the compiler's installation directory is

  C:\Program Files\mingw-w64\winlibs-x86_64-posix-seh-gcc-9.3.0-llvm-10.0.0-mingw-w64-7.0.0-r4\mingw64

Don't press the autodetect button!  The defaults for Program Files work OK.

I also do similarly for the 8.1, 9.2 and 10. snapshot version so that I have all the latest GCC versions working fine.  (Clang /LLVM also work similarly).

HTH