Search code examples
clangcygwinllvmclang++

How to obtain Clang on Cygwin


I have installed Cygwin, but I didn't see Clang or LLVM in the list of Cygwin installation packages when choosing devel, GCC, GDB etc.

How do I install Clang on Cygwin? I want to use it for compiling C++.


Solution

  • CLang is available from setup:
    be sure to be connected to internet and not using local cache.
    Use the Full view. You can use the search to reduce the number of packages

    enter image description here