[Webkit-unassigned] [Bug 282276] New: [Win] Cross-compiling the Windows port from Linux
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 29 13:31:24 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282276
Bug ID: 282276
Summary: [Win] Cross-compiling the Windows port from Linux
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CMake
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ian.grunert at gmail.com
It would make it easier for more WebKit maintainers to fix Windows build issues. It's more likely that contributors have a Linux dev environment setup than a Windows one.
Windows compiles under clang-cl now, and links with lld-link, so no MASM.exe to worry about.
We'll need something like https://github.com/Jake-Shadle/xwin to download the Microsoft CRT headers and libraries, and Windows SDK headers and libraries - we might want to integrate it into the existing script that downloads WebKitRequirements and put the files in WebKitLibraries.
Use the /vctoolsdir and /winsdkdir flags for clang-cl to point at the CRT and SDK directories, which should expand out into the required compilation / linker flags.
Some CMake changes will be needed to duct tape these pieces together - in particular the /vctoolsdir and /winsdkdir flags.
Might require some changes to Scripts like build-webkit etc.
----
Running the MiniBrowser / jsc via wine might need other changes, but being able to build would be the first step.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241029/5249228b/attachment.htm>
More information about the webkit-unassigned
mailing list