User forums > Help
Install newer version of MinGW
Sechem:
Hi
a time ago I installed Code::Blocks 8.02 with MinGW included on Windows Vista Home Premium (32bit).
Now I read on the CodeBlocks homepage that the included MinGW version wouldn't work reliable with Windows Vista. I can't confirm this for I never had problems with Vista and this MinGW version.
But I have two questions and I didn't find the answers yet:
1. How can I find out what version of MinGW or GCC I use? I found out that I must enter "g++ -v", but where must I enter this? In CodeBlocks or the Windows Console? And will this tell me the version of MinGW or GCC?
2. If I want to upgrade to a newer MinGW version, how can I do this with the CodeBlocks version that has the MinGW included? Must I uninstall the older MinGW before and if yes, how? And what is to do next?
I know these are beginner questions but I searched this board and also Google and didn't find the answers. So I would be very glad if you helped me!
Thanks
Sechem
oBFusCATed:
--- Quote from: Sechem on March 09, 2010, 11:44:49 am ---1. How can I find out what version of MinGW or GCC I use? I found out that I must enter "g++ -v", but where must I enter this? In CodeBlocks or the Windows Console? And will this tell me the version of MinGW or GCC?
--- End quote ---
g++ -v will give you the version of the c++ compiler
This command should be executed in a console. One note g++ should be visible at the place you type it (the easiest way is to navigate to the folder g++/gcc is located)
Sechem:
Ok, thank you!
I navigated to C:\Program Files\CodeBlocks\MinGW\bin and typed g++ -v.
After a few lines I see:
"gcc version 3.4.5 (mingw-vista special)"
So am I already using a Vista-compatible version? I thought that I had installed the one included with CodeBlocks.
Can someone help me with my second question too?
oBFusCATed:
Looking at the path, it seems you're using the one installed with C::B,
The easiest way is to uninstall C::B, then install it one of the TDM GCC releases, the install C::B and don't install the compiler coming with the installer (hope there is a check for that)
Another possibility is to use a nightly :)
rcoll:
--- Quote from: Sechem on March 09, 2010, 12:33:55 pm ---Ok, thank you!
I navigated to C:\Program Files\CodeBlocks\MinGW\bin and typed g++ -v.
After a few lines I see:
"gcc version 3.4.5 (mingw-vista special)"
So am I already using a Vista-compatible version? I thought that I had installed the one included with CodeBlocks.
Can someone help me with my second question too?
--- End quote ---
However you got that version of MinGW, it would appear that it is Vista-compatible. This would appear to be validated by your earlier statement
--- Quote from: Sechem on March 09, 2010, 11:44:49 am ---I can't confirm this for I never had problems with Vista and this MinGW version.
--- End quote ---
If it ain't broke, don't fix it 8)
Ringo
Navigation
[0] Message Index
[#] Next page
Go to full version