Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Code::Blocks next release. Which MinGW/GCC version?
ouch:
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.
gd_on:
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
oBFusCATed:
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.
ouch:
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.
MortenMacFly:
--- Quote from: ouch on July 19, 2018, 06:52:00 am ---I've been using Mingw64-i686-8.1.0-posix-sjlj-rt_v6-rev0
--- End quote ---
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...
Navigation
[0] Message Index
[*] Previous page
Go to full version