Hi,

I have to run Windows 7 Professional 64-bit (due unforeseen circumstances) instead of my preferred OS, i.e. FreeBSD.

I just downloaded the Clang toolkit environment installer (LLVM-3.8.0-r243265-win64) for Windows (from http://www.llvm.org/builds/) and post finishing the install found that clang++.exe refuses to compile even a simple C++ program (below);

int main(int argc, char* argv[]) {
    return 0;
}

The error messages thrown out were (below);

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)

Before this, I tried compiling a more fleshed out program with "includes" and "namespaces" and "cout", etc., but then clang++.exe told me about absence of "iostream".

Isn't "iostream" a part of "libc++"?
If yes, is there any pre-built "libc++" installable for Windows?
If not, is there any documentation which shows how to get it compiled under Windows?

Thanks,

~Mayuresh

_______________________________________________
cfe-users mailing list
cfe-users@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to