Re: How generate 32 bit format executable with last CLANG 20.1.8

2025年8月31日 10:28:33 -0700

On 2025年8月31日, Thierry DECHAIZE via Cygwin wrote:
> Hi,
>
> Big interest about last version of CLANG 20.1.8 provided with CYGWIN64
> (very good job of portability, since "very old" version of CLANG 8.0 ...).
>
> I can generate application in version 64 bit with this last compiler (on
> Windows 11 64 bit), but nothing do to generate executable 32 bit.
>
> In my test, linker always use sys-root of GCC in version 64 bit, same if
> I parameter option "-m32".
>
> With same "source" file, I can generate 32 bit executable with MinGW32
> development environment on CYGWIN64.
>
> What is wrong ?
What exactly are you trying to do? Are you trying to compile for 32-bit
Cygwin (which is unsupported but should be possible, though I didn't test
multilib sysroots)? Or are you trying to cross-compile to 32-bit MinGW
(that should absolutely work)? One of the failed tests that needed
investigation was mingw sysroot trying to use /usr when it shouldn't,
maybe this is what's going on here?
-- 
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Reply via email to