Building GCC on Windows…

is a PITA (pain in the a**). Yeah, really.

Not convinced? Please give it a try. See how many hours spent on building the compiler. Every time I build GCC, my notebook (4 years old) fan will speed up like a F1 car. :mrgreen:

Fortunately, Windows users don’t need the build GCC themselves. Some peoples already done them. Just google “MinGW GCC” or “GCC for Windows” or “GCC 4.7 Windows”, for example, and you’ll found some GCC builds, for example:

  1. MinGW (obviously)
  2. Cygwin (go get this if you want to emulate UNIX environment on Windows)
  3. TDM GCC
  4. mingw-builds
  5. MinGW distro (I like this one. You have Boost, PCRE, libjpeg, and some other libs included).
  6. Fortran, C and C++ for Windows
  7. Cross-Mingw x86/x64 (20120306), with GCC 4.7.0 (Pre-Release RC1)

See? :mrgreen:

For the brave souls who want to build GCC themselves, please take a look at this guide.




BTW, building GCC on Linux is a less PITA, compared to on Windows. But is still a PITA, though. Even when I’m working on Linux, I never have interest to build GCC myself. Better to trust the package manager on this issue :mrgreen:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s