[llvm-dev] Building For x64 Windows using LLVM
Osman Zakir via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 11 03:42:56 PDT 2019
When I try to give the command /std:<C or C++ standard>, it says "ignoring unknown argument" or something along those lines. So apparently it doesn't recognize it.
I also have a warning saying, "clang (LLVM option parsing): Unknown command line argument '..\..\zlib\adler32.c'. Try: 'clang (LLVM option parsing) --help'". And then "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.ClangCl.Common.targets(253,5): error MSB6006: "clang-cl.exe" exited with code 1.". I have the "Compile as" setting set to "Default" for all of the projects in the solution now and I took out the standard version specification setting as well because there are C++ and C source files there. I want to have it treat all of the source as C++ though, but I think first I need to get this issue fixed somehow.
I'm trying to use LLVM to build FLTK to LLVM bitcode so I can try building a FLTK GUI app with Emscripten. The above warning and error messages are from trying to build just fltk.vcxproj which also builds fltkzlib.vcxproj, fltkjpeg.vcxproj and fltkpng.vcxproj. These four keep failing (and there are a total of 79 projects in the solution).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev