Install mingw and msys to run c programs on windows

0

I installed MinGW by using mingw-get-inst-20111118.exe and it works but it is very slow!

I don't want to install it online, I remember that I have previously installed MinGW and msys by using two files mingw.exe and msys.exe without using the internet and it was great, but now I cant repeat what I have done and I cant find a link to mingw.exe!

Please, I want a simple steps for better offline installation?

Thanks

Hesham Abouelsoaod

Posted 2012-12-17T22:29:38.867

Reputation: 121

Answers

0

What I did was get mingw-get-setup from the website and installed everything (w/ g++/g) and ran g++/g commands. Don't forget to change the PATH environment to MinGW

Grizzly

Posted 2012-12-17T22:29:38.867

Reputation: 105

0

I wrote myself a small aide-memoire the other day on how to update (or set up) my MinGW and MSYS installation for building 32 and 64 programs on Windows. I doesn't involve mingw-get so you may have to go fetch any additional stuff manually but I think it includes pretty much all you might need.

It goes like this:

MinGW Environment

eg:

http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/64-bit/threads-posix/sjlj/x64-4.7.2-release-posix-sjlj-rev2.7z/download

and

http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/x32-4.7.2-release-posix-sjlj-rev2.7z/download

Use the Posix threads sjlj version

  • Unzip the 32 bit version to eg c:\mingw
  • Unzip the 64 bit version over the top

MSYS

  • Copy MSys directory from previous installation into c:\mingw\msys\1.0 or get an updated version from Sourceforge and unzip it.

eg: MSYS-20111123

Add c:\mingw\bin and c:\mingw\msys\1.0\bin to path

shunty

Posted 2012-12-17T22:29:38.867

Reputation: 660