Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kassane/xwin-zig-test
Testing Zig with xwin - Microsoft CRT headers and libraries, and Windows SDK headers and libraries
https://github.com/kassane/xwin-zig-test
cross-compile llvm msvc msvcrt rust ucrt windows-sdk xwin zig
Last synced: 2 months ago
JSON representation
Testing Zig with xwin - Microsoft CRT headers and libraries, and Windows SDK headers and libraries
- Host: GitHub
- URL: https://github.com/kassane/xwin-zig-test
- Owner: kassane
- License: bsd-3-clause
- Created: 2023-06-21T18:50:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-25T19:59:42.000Z (4 months ago)
- Last Synced: 2024-10-05T15:58:36.623Z (3 months ago)
- Topics: cross-compile, llvm, msvc, msvcrt, rust, ucrt, windows-sdk, xwin, zig
- Language: Zig
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zig with XWin (Experimental)
## What is [xwin](https://github.com/Jake-Shadle/xwin)?
A utility for downloading and packaging the Microsoft CRT headers and libraries, and Windows SDK headers and libraries needed for compiling and linking programs targeting Windows.
## Note
It's important to remind that the libraries and headers are owned by Microsoft.
This experiment is for testing purposes only. Possibly to make it easier to build hermetically.## Requirements
- [xwin](https://github.com/Jake-Shadle/xwin)
- [zig 0.13.x or higher](https://ziglang.org/download)## Testing
The main targets for this experiment are:
| Target | Native | Build | Host |
| --- | --- | --- | --- |
| msvc-x64 | Yes | 🆗 | Windows |
| msvc-x64 | No | 🆗 | Linux |
| msvc-x64 | No | 🆗 | MacOS |
| msvc-x86 | Yes | 🆗 | Windows |
| msvc-x86 | No | 🆗 | Linux |
| msvc-x86 | No | 🆗 | MacOS |
| msvc-arm64 | Yes | 🆗 | Windows |
| msvc-arm64 | No | 🆗 | Linux |
| msvc-arm64 | No | 🆗 | MacOS |**Note:** On linux the LLD is case-sensitive. maybe solve don't use `xwin` `--disable-symlinks` flag. However, it breaks the macos build!