How do you install GCC in Windows XP?

Answer:
Cygwin is a Unix like environment that runs on top of windows, in particular it allows us to use the GNU Compiler Collection (GCC) to compile our programs.

To install GCC on Windows XP, visit the link in Related Links section. The link shows a good and step by step tutorial.
(The MinGW environment is an alternative way to run gcc on Windows. Unlike Cygwin, it does not provide a POSIX environment.)
Note: There are comments associated with this question. See the discussion page to add to the conversation.
First answer by Mr mahesh in. Last edit by DavidCary. Contributor trust: 162 [recommend contributor recommended]. Question popularity: 20 [recommend question].