On Tue, 22 Apr 2025 10:35:27 -0700 (PDT) Jeremy Drake wrote: > On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > Previously, Xu Chiheng offered ITA for llvm, however, we haven't > > heard from him in over a year. > > > > Recently, I could successfully build llvm/clang related packages > > version 20.1.2 thanks to MSYS2 guys. > > > > Therefore, I would like to adopt these packages. > > > > NOTE: ocaml-llvm could not be built because ocaml related packages > > are too old. > > How about lld? It's kind of a questionable/tricky one, because AFAIK > there's no way to differentiate the *target* being Cygwin or MinGW in it, > so trying to adapt it to Cygwin resulted in it not being right for > cross-compiling to MinGW. I gave up on adapting it to Cygwin, but it > could still be useful for cross-compiling. I was able to use my Cygwin > build of llvm/clang/lld to make an llvm-mingw using the host clang > successfully, so one could use it to make cross-compilers to > {i686,x86_64,armv7,aarch64}-w64-mingw32. I don't know if Cygwin has any > cross toolchain to the arm targets yet.
cygwin has not had lld in the packages at least in previous version (8.0). Therefore, I did not try to build it. -- Takashi Yano <takashi.y...@nifty.ne.jp>