On Mar 29, 2012, at 11:26 AM, akshay ratnaparkhi wrote: > but when I tried to execute it > clang hello.exe Well here's your problem! Clang is a compiler (and a compiler/linker driver); you don't need it to run the program. So, try not sticking 'clang' in front. Try just: hello (or: ./hello.exe if you're using MSYS bash). Chip