-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Labels
platform: WindowsIssues related to Zephyr SDK on Windows hostsIssues related to Zephyr SDK on Windows hosts
Milestone
Description
The MinGW toolchain that is available as part of Debian 10, which is the base image for the sdk-build Docker image, is too outdated (MinGW 6.0.0 with GCC 8.3.0) to support Windows LLVM build.
Update the sdk-build Docker image to include a more up-to-date MinGW-w64 toolchain.
Notes
- It will be necessary to build the full MinGW-w64 toolchain from source since there is no adequate binary distribution available for Debian 10.
- Use
mingw-w64package from Ubuntu 24.10 as a reference.- This will get us a fairly up-to-date and stable MinGW-w64 toolchain to use.
- It is also up-to-date enough to support UCRT (see Support paths with UTF characters on Windows #681).
- GCC will need to be built for both
win32andposixthread models.- Keep building Windows GNU toolchain with
win32thread model since we do not need pthread and we do not want to include pthread DLL in the Windows GNU toolchain distribution. - LLVM uses
std::thread, which depends on pthread, and therefore require theposixthread model. Yes, we will need to include the pthread DLL.
- Keep building Windows GNU toolchain with
- Build MinGW-w64 with UCRT as the "default MSVCRT."
Resources
Metadata
Metadata
Assignees
Labels
platform: WindowsIssues related to Zephyr SDK on Windows hostsIssues related to Zephyr SDK on Windows hosts