Open
Description
This is a meta issue to track all the issues needed for a Windows support.
Goals:
- We aim to support clang-cl. This is the first priority.
- Later on, cl, from 2022. This is a very low priority.
- If we manage to get some mingw toolchain to compile the program - I am happy. But this is not a goal.
Problems:
-
Some compiler flags are not compatible with clang-cl.(Meta/Windows: fix compilation flags for clang-cl #77) - We need a package manager to handle building 3rd parties (ICU, fontconfig?, Skia, WABT, more?)
- We need to find an alternative to fontconfig.
- 'sys/time.h' not found
-
[[no_unique_address]]
not supported (am I using a wrong compiler? I use MSVC 2022 and its clang-cl) - We need to pull code from previous attempts of this kind of work. (cherry-picks, rebase etc).
- Need to understand how to run the commit linters on the local machine, as we don't want developers to spam the CI/CD with phantom builds, just to fix a typo on the commit log (yes, that is directed at me)
Known forks, branches:
- https://github.com/cammo1123/serenity/tree/WindowsJS2.0
- https://github.com/abuneri/serenity/tree/windows-ladybird
Please do not comment on this issue unless you have something to contribute. This issue is one of the boss-issues - it will take time. Problems and goals will change, nothing is written in stone, provide code if you can.