[cfe-dev] linker error on mingw

Charles Davis cdavis at mymail.mines.edu
Thu Mar 29 11:03:23 PDT 2012


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





More information about the cfe-dev mailing list