How do I compile this for older Windows versions? #503
-
Okay, this is a very silly question, but I'm feeling tech illiterate at the moment because I can't figure it out. Basically, now that I'm home, I have access to my Windows 2000 computer which I normally use for development. I had expected, as one would do knowing that the concept of an assembler is very simple, that it would work on Windows 2000 since it worked just fine on modern NT versions. It did not. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Yeah, well, the code is ANSI C89 code so it can and is compiled even on an emulated late 80's Amiga so compiling it on a Windows 2000 machine should work. If you are using the Visual Studio solution file inside the repository, hmm, perhaps something special needs to be done to it? Currently it targets Windows XP machine AFAIK so you need to change some settings? |
Beta Was this translation helpful? Give feedback.
-
For Win2K you could use an older version of MinGW to compile. |
Beta Was this translation helpful? Give feedback.
-
Maybe you could modify and use some of the makefiles found in the historical folder? Just opened the Visual Studio solution file in Visual C++ 2010 and it opened all right, but compiling didn't work, it complained about some 141_xp target/package not found. I bet if you just fix that and it'll compile just fine... |
Beta Was this translation helpful? Give feedback.
-
Could you test these? They were compiled using MSYS2 MINGW32. The versions you would usually find are 64-bit (I guess, haven't checked) but to my knowledge Windows 2000 is 32-bit only. I ran inside the MSys2 MinGW32 terminal: git clone https://github.com/vhelin/wla-dx wla-dx-to-build
mkdir wla-dx-to-build/build-mingw32
cd wla-dx-to-build/build-mingw32
cmake .. -G 'MSYS Makefiles'
make -j8
strip binaries/*.exe # Optional Also, there is an "XP-compatible toolchain" you can install via the Visual Studio Installer to compile for Windows XP, not sure if the resulting binaries also works for earlier versions of Windows. |
Beta Was this translation helpful? Give feedback.
Could you test these? They were compiled using MSYS2 MINGW32. The versions you would usually find are 64-bit (I guess, haven't checked) but to my knowledge Windows 2000 is 32-bit only.
I ran inside the MSys2 MinGW32 terminal:
Also, there is an "XP-compatible toolchain" you can install via the Visual Studio Installer to compile for Windows XP, not sure if the resulting binaries also works for earlier versions of Windows.