WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
282276
[Win] Cross-compiling the Windows port from Linux
https://bugs.webkit.org/show_bug.cgi?id=282276
Summary
[Win] Cross-compiling the Windows port from Linux
Ian Grunert
Reported
2024-10-29 13:31:24 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2024-10-29 17:09:22 PDT
glandium.org » Blog Archive » Standing up the Cross-Compilation of Firefox for Windows on Linux
https://glandium.org/blog/?p=4020
Radar WebKit Bug Importer
Comment 2
2024-11-05 12:32:15 PST
<
rdar://problem/139306427
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug