[cfe-users] Simple code refuses to compile ...

Mayuresh Kathe mayuresh at kathe.in
Tue Aug 4 04:01:20 PDT 2015


Hello,

I have installed LLVM-3.8.0-r243265-win64 for my Windows 7 Professional 
64-bit and tried to compile a simple program called "test.c" (below);

int main(void) {
     return 0;
}

The command issued to compile it was; "clang.exe .\test.c" (without 
quotes).
The error message(s) thrown back are;
clang.exe: error: unable to execute command: program not executable
clang.exe: error: linker command failed with exit code 1 (use -v to see 
invocation)

May I please know what I could do to get this resolved and working on my 
system?

Thanks,

~Mayuresh




More information about the cfe-users mailing list