8000 Make TVision build on Windows XP. by guilt · Pull Request #180 · magiblot/tvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make TVision build on Windows XP. #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

guilt
Copy link
@guilt guilt commented Jun 25, 2025

With minor changes, I was able to get CMake 3.14+GCC 8.1.0 building this package on Windows XP.

TVision-XP

[Update]: On DOS, Borland C++ 3.1 make runs out of memory when trying to build this project. I was able to get it to compile with Borland C++ 4.5 and TASM 4.0, mimicking the setup. Thanks, I'll test this out.

[Update]: Error with textview.cpp is resolved, patch is simpler; I also added -DTV_USE_STATIC_RTL support for GCC; With the toolchain I've given you below, I am able to compile this on Windows 11 and run it on Windows XP as well.
[Update]: The build failure due to ICE on Linux Big Endian machine is flaky as well.

@guilt guilt force-pushed the master branch 4 times, most recently from 6c4f1a3 to 3e96d6a Compare June 25, 2025 06:46
@magiblot
Copy link
Owner

Hi @guilt!

Thank you very much! I already looked into Windows XP support with Visual Studio when discussion #56 was opened, and even though I made sure to choose the Windows XP-compatible toolset, I still couldn't get it to work (despite having sorted out the problem of GetCurrentConsoleFontExand GetTickCount64).

I will take a look into your solution. However, could you share the links to the same versions of GCC and CMake you used?

Cheers.

@guilt
Copy link
Author
guilt commented Jun 25, 2025

This is a 3.14.6 version of CMake - cmake-3.14.6-win32-x86.zip which I had to modify to run on Windows XP (basically, getting back the libcmuv/libcmcurl etc. from 3.13 without the async Windows Vista stuff) and putting it there. For this version, source isn't there (sadly), as I was trying this out to build llama.cpp on XP, ReactOS devs reached out out saying they maintain a newer CMake 3.17 that works on XP as part of their RosBE and so I'd recommend, going forward, we could use that instead.

Version of GCC is 8.1.0, x86, sjlj which you can find archived here - I think I got it from TDM-GCC, which runs fine on XP.

You'd also need the MinGW compatibility C++ headers for this compiler, which you can find here: MinGW-Compat

Preserve default behavior of Windows Vista.
Add Static Linking to GCC as well.
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
0