hexchat icon indicating copy to clipboard operation
hexchat copied to clipboard

Support Windows ARM64

Open waltje opened this issue 4 years ago • 4 comments

Have been using Hex for many years now, and it still rocks !

Could you please release an installer-based version for Windows 10, including Arm64.

waltje avatar Jul 19 '21 03:07 waltje

I am interested about this topic. I have read the building docs but it requires to download the pre-compiled dependencies from https://dl.hexchat.net/gtk. Those need to build first for ARM64 architecture. Is there any documentation about how to build those dependencies in that format?

It seems that the artifacts from https://dl.hexchat.net/gtk are compiled in Visual Studio. In msys2, some packages (including gtk2 and glib2) have been compiled for ARM64 with llvm/mingw toolchain.

Biswa96 avatar Jan 22 '22 09:01 Biswa96

Is there any documentation about how to build those dependencies in that format?

The binaries are built as part of the gvsbuild project. Their tools only explicitly support x64 or x86 but it could probably reasonably be made to build against arm. Now if the dependencies actually build on arm... I would expect you to hit failures that require patching projects.

TingPing avatar Jan 22 '22 19:01 TingPing

@Biswa96 BTW if you have the drive to get everything building in mingw, including notification support which is what I got stuck on, then I'm not against changing stacks if you can help support it.

TingPing avatar Jan 22 '22 19:01 TingPing

including notification support which is what I got stuck on

It may not be possible to build the notification-winrt plugin with mingw-w64 toolchain. For example, that plugin uses Platform namespace which is implemented in MSVC specific vccorlib*.dll files. One alternative way is to build the winrt plugin with MSVC and the rest with gcc or clang. Not sure if that will cause further issue.

Biswa96 avatar Jan 23 '22 09:01 Biswa96