Which MinGW release is suggested for 4.8.4 ?
-
Hi
Today I tried to compile a Qt4 project in windows with MinGW-builds (4.7.2-rev7). I got 6 linker errors of kind "undefined reference to `_Unwind_Resume' ". I thought it's related to sjlj / dw2 incompatibility. Though the dw2 version of same project had 25 errors of kind _Unwind_SJLJ_Resume.
Which compiler should I use for officially released 4.8.4 on 32 bit ?
-
Look here:
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC Old Releases/TDM-GCC 4.4 series/Or here:
http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/Previous Release gcc-4.4.0/ -
I have a problem with that. The release notes: gcc-4.4.0-mingw32-notes.txt located here:
"http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/Previous Release gcc-4.4.0/":http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/Previous Release gcc-4.4.0/
says that:
bq. You will need to have an existing MinGW installation that includes at
least the following:---
- binutils 2.13
-
- mingw-runtime 3.13
-
- w32api 2.2
How does one acquire these?
-
-
Here's another source of MinGW 4.4: http://nosymbolfound.blogspot.com.au/2012/12/since-until-now-qt-under-windows-is.html
Alternatively, you could update to Qt 4.8.6, which uses MinGW 4.8
-
Thanks for your kind reply. I have just discovered something that I need to share. I discovered the project: "MinGW-builds":http://sourceforge.net/projects/mingwbuilds
The project hosts an "installer" that downloads all the right stuff for the MinGW gcc version you want. It goes all the way back to 4.6
Long story short, via that project I was able to install the full MinGW/gcc 4.6 and build Qt 4.8.4 successfully with no hiccups whatsoever.
I will definitely look into upgrading to 4.8.6 but needed 4.8.4 for a current project that I can't afford any "surprises" with.
-
You're welcome. Thank you for sharing your finding!