Author Topic: Code::Blocks next release. Which MinGW/GCC version?  (Read 6842 times)

Offline sergioferrari52

  • Multiple posting newcomer
  • *
  • Posts: 12
Code::Blocks next release. Which MinGW/GCC version?
« on: July 14, 2018, 06:09:36 pm »
Wich MinGW/GCC version the Code::Blocks team has planned to distribute in bundle with the next CB release?
« Last Edit: July 15, 2018, 09:02:20 am by sergioferrari52 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #1 on: July 15, 2018, 09:31:22 pm »
There isn't a decision made, yet.
Why do you ask?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline sergioferrari52

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #2 on: July 16, 2018, 01:05:16 am »
Because I love C++, I love Code::Blocks, I love MinGW and GCC and I would like to have the most updated version of compilers.
Furthermore, it seems that the TDM-GCC project has been abandoned (looking at the website)
However, even CB 17.12 with GCC 5.1.0 is a great IDE / compiler and it helps us a lot to work.
The nightlie GUI is beautiful.
Congratulations to the whole team.
« Last Edit: July 16, 2018, 01:07:17 am by sergioferrari52 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #3 on: July 16, 2018, 08:05:50 am »
But our choice doesn't stop you from using another compiler.  ::)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline sergioferrari52

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #4 on: July 16, 2018, 08:33:15 am »
Of course!

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #5 on: July 19, 2018, 06:52:00 am »
I've been using Mingw64-i686-8.1.0-posix-sjlj-rt_v6-rev0

It's been working quite well without too many problems for me if you want to try out MingW64.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #6 on: July 19, 2018, 09:53:46 am »
Are you sure of the name Mingw64-i686-8.1.0-posix-sjlj-rt_v6-rev0 ?
For me, i686-8.1.0-posix-sjlj-rt_v6-rev0 on sourceforge is a 32 bits only compiler. The 64/32 bits versions are x86_64_8.1.0... files.
Then, which one of the differents "flavour" (as said by TDM) is the best for each/which application ? win32/posix thread ? exceptions sjlj/dwarf for 32 bits, seh/sjlj for 64/32 bits ? Not very clear for me ...

already asked here , but apparently lost in the depths of forums  :-\ !

gd_on
« Last Edit: July 19, 2018, 10:00:27 am by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #7 on: July 19, 2018, 10:20:30 am »
MingW64 is the project name. Apparently they provide 32 bit compilers, too.

About which version to use: No idea. I don't understand why they provide some many options and make things so confusing.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #8 on: July 29, 2018, 07:19:45 am »
Yeah I mainly use the 32 bit only version.

Years ago when I tried mingw64 I used the 64 bit version and then added the option to force it into 32 bit mode when I wanted 32 bits. But I found that for whatever reason when you force it into 32bit mode you would occasionally get odd compiler issues. For instance having optimizations on would crash the program. If I then took and used the 32bit version those same optimizations would work fine.

So now days I have both compilers installed, one for 32bit and one for 64bit. Both of these are added to my path variable. I just go into where they are installed and add a "-" in front of whichever one I don't want to use.

For win32 or posix threads: the wxThreads that wxWidgets uses is based on posix style threads so I have always use posix threads myself.

sjlj or dwarf: For all the hype around dwarf about how much better it is than sjlj not many dev tools seem to actually support it very well, or at all. So I pick sjlj. I don't use 64bit version compilers much so I don't know about seh. sjlj has been around for decades though, so I still use sjlj for that.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks next release. Which MinGW/GCC version?
« Reply #9 on: August 19, 2018, 07:40:28 am »
I've been using Mingw64-i686-8.1.0-posix-sjlj-rt_v6-rev0
I am using this build for a while now myself (the "gcc.exe (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0" from nixman). Could happen that this might be used.

 am using DWARF intentionally for testing...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ