during building llvm from source , which compiler should I use g++ or MSVC? is Clang needed to be built and installed to? When I tried to build llvm from source on Windows, some warnings and errors occured as follows:
Warning: Did not find file Compiler/-ASM
– Looking for dlfcn.h - not found
– Looking for errno.h
– Looking for errno.h - found
– Looking for fcntl.h
– Looking for fcntl.h - found
– Looking for link.h
– Looking for link.h - not found
– Looking for malloc.h
– Looking for malloc.h - found
– Looking for malloc/malloc.h
– Looking for malloc/malloc.h - not found
– Looking for signal.h
– Looking for signal.h - found
– Looking for sys/ioctl.h
– Looking for sys/ioctl.h - not found
– Looking for sys/mman.h
– Looking for sys/mman.h - not found
– Looking for sys/param.h
– Looking for sys/param.h - not found
– Looking for sys/resource.h
– Looking for sys/resource.h - not found
lots of these .h files are not found
during installing the llvm, also an error showed:
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot make directory “C:/Program Files
(x86)/LLVM/include/llvm”: No such file or directory
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: ▒▒▒setlocal [C:\Users\yl2304\llvm-7.0.1.src\build\INSTALL.vcxproj]
Thanks a lot!