Skip to content

Conversation

daiverd
Copy link

@daiverd daiverd commented Jun 29, 2025

Add Docker-based Windows XP cross-compilation support

This PR introduces Docker-based cross-compilation capabilities for Windows XP compatibility, along with necessary build infrastructure and SAPI 4.0 headers.

Changes

Build System

  • Add build-docker.sh script for Docker-based cross-compilation targeting Windows XP
  • Compiled binaries are output to ./out directory
  • Include build metadata files (buildnum.h, buildnum.rc)

SAPI 4.0 Integration

  • Add SAPI 4.0 header files (speech.h, spchwrap.h, spchtel.h)
  • These headers provide easier access to SAPI 4.0 functionality compared to extracting from existing SAPI4api files

Repository Configuration

  • Configure .gitattributes to preserve CRLF line endings for header files
  • Update .gitignore to exclude out/ build directory

I found this easier to get working than Visual Studio.

David Sexton added 2 commits June 28, 2025 22:56
- Add Docker-based cross-compilation script for Windows XP compatibility (build-docker.sh) which will build and place compiled files in ./out
- Add SAPI 4.0 header files (speech.h, spchwrap.h, spchtel.h) (because these weren't easy to extract from the already included SAPI4api files)
- Include build metadata and resource files (buildnum.h, buildnum.rc)
- Configure .gitattributes to preserve CRLF line endings for header files and .gitignore to ignore out/
@TETYYS
Copy link
Owner

TETYYS commented Jul 1, 2025

please write an original PR description or reduce it to a single sentence thats at the end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants