VOGONS


First post, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

How to use MinGW/MSYS in Windows Vista

I heard that many compilers do not compile in win vista. I spent much time to sucessfully compile in msys under windows vista system.
Finally, I found how to get mingw/msys to work in vista.

1. Install MinGW/MSYS as an administrator. (Right click on the setup executable, then click "Run as an administrator")
2. Copy the latest library (dll) file of snapshot (new mingw runtime library) to /msys/1.0/bin. You can download it from mingw project in sourceforge.
Then rename new-msys-1.0.dll to msys-1.0.dll.
This makes some commands like "patch" work in msys.
3. Go to computer->System Properties->Advanced system->Environment Variables...
In system variables, add a path of gcc dir to the end of PATH line. For example, add ;c:\mingw\libexec\gcc\mingw32\3.4.5 to the end of the path variable.
It will make it possible for ./configure to find gcc.
4. Restart your computer to reflect all the setings on os.

That's it. Now, run msys as an administrator.

I hope this would help you or developers.
Tested with windows vista rtm 6000.