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.
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:
- MinGW (obviously)
- Cygwin (go get this if you want to emulate UNIX environment on Windows)
- TDM GCC
- MinGW distro (I like this one. You have Boost, PCRE, libjpeg, and some other libs included).
- Fortran, C and C++ for Windows
- Cross-Mingw x86/x64 (20120306), with GCC 4.7.0 (Pre-Release RC1)
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