[cfe-users] LLVM : Clang : 3.8.0 (trunk) : Windows 7 64-bit : libc++ missing?
Mayuresh Kathe
mayuresh at kathe.in
Sun Aug 2 23:55:36 PDT 2015
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
More information about the cfe-users
mailing list