Displaying 2 results from an estimated 2 matches for "wmsvc".
Did you mean:
msvc
2019 Jun 01
3
I'm having problems compiling a program. Please help.
...Also, I am new to llvm, so
please try to be understanding.
I keep getting an error when I try to compile a simple Hello World program
(as a test)(error included below).
The error is:
Clang: warning: unable to find a Visual Studio installation; try running
Clang from a developer command prompt [-Wmsvc-not-found]
hello.c:1:10: fatal error: 'string.h' file not found
#include <string.h>
^~~~~~~~~~
1 error generated
It looks as if Clang is looking for a Visual Studio installation for
missing C library headers (string.h, stdio.h, math.h, etc.). Does
Clang/llvm come with C libr...
2017 Oct 01
2
load with alignment of 1 crashes from being unaligned
...clang, because
clang doesn't support cross compiling as seamlessly as my frontend:
$ clang -o test.exe test.ll -target x86_64-unknown-windows-msvc
-fuse-ld=lld -Wl,-entry:_start
clang-5.0: warning: unable to find a Visual Studio installation; try
running Clang from a developer command prompt [-Wmsvc-not-found]
/nix/store/jxm0qg5cazlv8h7f7kp6cgk7ka7ag5kr-lld-5.0.0rc3/bin/lld-link:
error: could not open libcmt.lib: No such file or directory
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)
But if you manage to get it linked I am sure this IR would trigger the
i...