Commit Graph

2 Commits

Author SHA1 Message Date
Sylpheed RE agent
99cc726626 docs: adopt the full cross-build guide (the tracked one was a stub)
The project root carried a 59 KB version of this guide, untracked, on one
disk. This repository carried 6.8 KB of it. Consolidation Phase 6 in the
Sylpheed repo.

Its audience line predates the decision to retire xenia-rs, so a note at the
top says to read 'audit oracle for the Rust port' as 'instrumented build for
RE'. The instructions themselves are unaffected -- clang-cl, xwin, lld-link
and Wine do not care why you want the binary.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 21:18:30 +02:00
MechaCat02
ce67514572 [Build] Linux→Windows cross-compile toolchain (clang-cl + xwin)
New CMake preset `cross-win-clangcl` for Ninja Multi-Config on
non-Windows hosts. Toolchain: clang-cl (MSVC-ABI), lld-link, xwin SDK/CRT
splat. Shader compilation routes through wine fxc.exe with FXC_PATH
env forwarding and unix→Windows path translation via `winepath -w`.
Plus per-file build fixes (constexpr→const, llvm-rc forward-slash,
zlib-ng AVX guard, /RTCsu MSVC-only). third_party/snappy bumped to
fabi/sylpheed-crossbuild for the target-aware POSIX-gate header.

Produces `xenia_canary.exe` (Debug MSVC) suitable for use as the
audit oracle under Wine for xenia-rs work. See
docs/CROSS_BUILD_SETUP.md for the full reproduction recipe.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-12 15:43:22 +02:00