On Sat, 12 Apr 2025, Takashi Yano via Cygwin-apps wrote: > Thanks for the advice. I was trying to build DLL with gcc. > Now I can successfully build llvm without DLL using gcc. > > Next step I am trying is building clang using gcc. It seems > that clang is the same, I mean, DLL should be disabled in > the first step using gcc.
Yes. Also use -DLIBCLANG_BUILD_STATIC=ON > Then build clang again using clang built in the first > step, right? Yes. However, see my previous mail for the strange issue I ran into trying to do this (strange because it works fine on MSYS2 but fails on Cygwin)