On Thu, 15 May 2025, Takashi Yano via Cygwin-apps wrote:

> The patch missig from repository I have added is as attached.
> I thought we should add /usr/lib/w32ap at the same place
> where /usr/lib is added. But I could not find.

getProcessTriple is the host triple.  My lld hacks were done based on the
default target triple, which is also wrong.  The current target triple is
not passed as an input to lld, so it cannot differentiate between Cygwin
and MinGW targets.  All it gets is the option like '-m i386pe' or i386pep
which are the same between Cygwin and MinGW.

https://github.com/llvm/llvm-project/compare/main...jeremyd2019:llvm-project:lld-cygwin-hacks

Reply via email to