Building Windows/ARM64 binaries with Cygwin clang?

Mark Liam Brown brownmarkliam@gmail.com
Tue Sep 9 09:39:00 GMT 2025


Greetings!

Can Cygwin 3.7 clang generate Windows/ARM64 binaries somehow?

My attempts so far are a failure:
clang -target aarch64-pc-windows-gnu -std=gnu17 -Wall -g grapetest1.c
-lntdll -o grapetest1.x86_64.exe
grapetest1.c:34:10: fatal error: 'windows.h' file not found
  34 | #include <windows.h>
     |          ^~~~~~~~~~~
1 error generated.

Mark
-- 
IT Infrastructure Consultant
Windows, Linux


More information about the Cygwin mailing list