Author Topic: CB mingw with gcc 11.3: where to download the libs?  (Read 4116 times)

Offline easyw

  • Multiple posting newcomer
  • *
  • Posts: 13
CB mingw with gcc 11.3: where to download the libs?
« on: October 30, 2023, 09:28:36 pm »
Hi,
I'm trying to have a MinGW with gcc 11.3 version on windows

CB 20.03 is bundled with gcc 8.10
Code
gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
or in 32b
Code
gcc --version
gcc (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0

I looked around at the forum and found this repo:
https://github.com/brechtsanders/winlibs_mingw/

could the following packages be the right ones?
winlibs-x86_64-posix-seh-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3.7z at
https://github.com/brechtsanders/winlibs_mingw/releases/download/11.3.0-14.0.3-10.0.0-ucrt-r3/winlibs-x86_64-posix-seh-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3.7z

winlibs-i686-posix-dwarf-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3.7z at
https://github.com/brechtsanders/winlibs_mingw/releases/download/11.3.0-14.0.3-10.0.0-ucrt-r3/winlibs-i686-posix-dwarf-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3.7z

or are there better options?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1563
Re: CB mingw with gcc 11.3: where to download the libs?
« Reply #1 on: October 30, 2023, 10:27:22 pm »
In this post you have a link to the version we are using.

Offline easyw

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: CB mingw with gcc 11.3: where to download the libs?
« Reply #2 on: October 31, 2023, 09:32:55 am »
In this post you have a link to the version we are using.
thanks, I already new that link... from there I dig in the brechtsanders/winlibs_mingw/ repo to find the version 11.3 I would need.
I was just asking if the
winlibs-x86_64-posix-seh-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3
and
winlibs-i686-posix-dwarf-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3
are the right version (x86_64-posix-seh and i686-posix-dwarf) to be used with CB and to build wxWidgets 3.2
Thanks again for any insight.

Offline easyw

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: CB mingw with gcc 11.3: where to download the libs?
« Reply #3 on: October 31, 2023, 11:07:21 pm »
Just an update:
the above 64bit version works just fine with CB and wxWidgets 3.2.3

[winlibs-x86_64-posix-seh-gcc-11.3.0-mingw-w64ucrt-10.0.0-r3]

Offline nenin

  • Almost regular
  • **
  • Posts: 212
Re: CB mingw with gcc 11.3: where to download the libs?
« Reply #4 on: November 01, 2023, 08:36:30 am »
or are there better options?
You can use any version of the mingw with C::B 64b. You just have to make proper configuration for the each compiler, and in general you need to switch PATH to compiler you wish to use. I have 2 actually running ones,  WinLibs 9.3 32b sjlj msvcrt for WinXP builds and Nixman 13.1 64b ucrt seh for Win7/10... One thing is important: for 64b C:B GDB must be 64b, and to debug 32b applications GDB should be relatively fresh. 

Offline easyw

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: CB mingw with gcc 11.3: where to download the libs?
« Reply #5 on: November 01, 2023, 10:41:09 am »
One thing is important: for 64b C:B GDB must be 64b, and to debug 32b applications GDB should be relatively fresh.
thanks