What operating system are you using? If you are using Windows, you should use the MinGW branch (or derivatives) of GCC. Alternately, TDM-GCC is another option ( http://tdm-gcc.tdragon.net/ ). Note that these are only 4.8.1 (or were, last I checked) - I think 4.9 is only for Linux at the moment.