The commands for gcc on windows are the same as above but you may also have to link (via the -l option) to the following libraries: gdi32, comctl32, user32, ws2_32, or imm32. + However, it's worth pointing out that Visual Studio Express is free and a much better choice for + windows development than gcc.