[llvm-dev] Which compiler collection on Windows? (original) (raw)
Stefanos Baziotis via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 31 06:40:50 PDT 2020
- Previous message: [llvm-dev] Which compiler collection on Windows?
- Next message: [llvm-dev] What is the "correct" way to add a print pass in the NPM ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I think the best bet is going with visual studio (which will give you the
cl command line invocation of the compiler if you want to).
- Stefanos
Στις Παρ, 31 Ιουλ 2020 στις 4:37 μ.μ., ο/η Paul C. Anagnostopoulos via llvm-dev <llvm-dev at lists.llvm.org> έγραψε:
Now that I can build LLVM on Windows, I tried doing it.
-------------------------- ... some good stuff ... C:/LLVM/llvm-project/llvm/lib/Support/Chrono.cpp:35:17: error: '::localtimes' has not been declared; did you mean 'localtime'? 35 | int Error = ::localtimes(&Storage, &OurTime); | ^~~~~~~~~~~ | localtime (The error line is preceded by #if defined(WIN32).) ---------------------------- A little research shows that localtimes is a Microsoft extension and is not included with MinGW. From this I cleverly infer that I should have installed a different compiler collection. Can anyone give me a hint?
LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200731/77e33ff1/attachment.html>
- Previous message: [llvm-dev] Which compiler collection on Windows?
- Next message: [llvm-dev] What is the "correct" way to add a print pass in the NPM ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]