feat(toolchain): cross-compile Windows targets with MinGW and run tests under Wine
This commit is contained in:
1 parent
70483492aa
commit
a808596462
8 files changed
+157
-31
No files matched your search
@@ -284,6 +284,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
|
||||
- **Wave 94 (CPack-Style Self-Extracting Installed & IDE Install Tasks)**: `vbs install --archive FILE --archive-format sh` now emits an executable POSIX self-extracting installer (tar payload + `--prefix`/`PREFIX` handling) in addition to the plain tar; the install test runs the generated script and verifies the extracted prefix. The generated VS Code and Zed tasks gained `vbs: install` and `vbs: package installer` entries (asserted in the IDE test).
|
||||
|
||||
- **Wave 96 (Wine-First Windows Target Support)**: `discover_and_probe` selects the MinGW-w64 cross toolchain (`x86_64-w64-mingw32-{g++,gcc,ar}`, or `aarch64` for arm64 targets) when the profile targets Windows from a non-Windows host; Windows targets emit PE artifacts (`<name>.exe`, `<name>.dll`); `vbs build|test` accept `--target-os`/`--target-arch`; `vbs test` runs cross-built Windows test binaries under Wine. Verified end to end: a Windows-target project cross-compiles and its test passes under Wine (`FullV1Tests.track_c_windows_target_cross_build_and_wine_test`, skipped when MinGW/Wine are absent).
|
||||
|
||||
## Remaining future scope
|
||||
|
||||
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.
|
||||
|
||||
Reference in new issue
Block a user