SDL 3 officially adds DOS (DJGPP) support - binary build (Developers)
Well, I know why I hate that crap...
1st followed the wiki page:
https://wiki.libsdl.org/SDL3/README-dos
Indeed the 1st command failed because default CMAKE tries to use MSVC (cl) for some internal stuff. As I have only MinGW installed I had to setup a kludge (1st add mingw32 to path then add djgpp crosscompiler to the path) and modify the 1st command to:
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=build-scripts/i586-pc-msdosdjgpp.cmake
then it finally built without any error. It created static lib libSDL3.a and bunch of test programs. As I'm just sitting at Win11 PC I can test only via Dosbox-X. I tried some random, most of them works, including SB sound test, except qsort.exe that crashes. And obviously GL and Vulkan stuff doesn't work.
Download here: http://sourceforge.net/projects/ffmpeg-x264-dos/files
UPDATE: qsort.exe under plain DOS finished OK, so it's some Dosbox-X bug. BTW SDL DOS port use __djgpp_nearptr_enable so it cannot run in NTVDM (no fallback to banked modes)...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- SDL 3 officially adds DOS (DJGPP) support - Rugxulo, 12.05.2026, 16:05 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- SDL 3 officially adds DOS (DJGPP) support - RayeR, 12.05.2026, 17:37
- SDL 3 officially adds DOS (DJGPP) support - binary build - RayeR, 18.05.2026, 22:03
- SDL 3 officially adds DOS (DJGPP) support - Zyzzle, 13.05.2026, 00:30
- SDL 3 officially adds DOS (DJGPP) support - Rugxulo, 14.05.2026, 22:45
- SDL 3 officially adds DOS (DJGPP) support - Laaca, 15.05.2026, 06:17
- SDL 3 officially adds DOS (DJGPP) support - Rugxulo, 16.05.2026, 05:27
- SDL 3 officially adds DOS (DJGPP) support - Laaca, 15.05.2026, 06:17
- SDL 3 officially adds DOS (DJGPP) support - Rugxulo, 14.05.2026, 22:45
- SDL 3 officially adds DOS (DJGPP) support - tkchia, 15.05.2026, 11:43
- SDL 3 officially adds DOS (DJGPP) support - bocke, 16.05.2026, 00:41
- SDL 3 officially adds DOS (DJGPP) support - Zyzzle, 16.05.2026, 03:32
- SDL 3 officially adds DOS (DJGPP) support - RayeR, 12.05.2026, 17:37
Mix view