For a modern, optimizing C23 compiler for targeting 32-bit FreeDOS apps, see:
https://github.com/avwohl/uc386

It has a full program compile mode that does global optimization across .c 
files.
For compiler tests, it builds DOOM, MicroPython, awk, and GNU utilities.

Unfortunately, the standard is copyrighted and for sale only
https://www.iso.org/standard/82075.html
It is priced at 227 CHF, at current exchange rates, that is $279.49
But you only need the standard for serious compiler tinkering.

Notes:
- uc386 is written in Python. It runs on Linux, not DOS
- supports 32-bit flat DOS extender mode only (no small, medium, huge)
- This is a follow-on to the Z80 C23 for CP/M compiler 
https://github.com/avwohl/uc80
- Uses Uplox https://github.com/avwohl/uplox front-end generator.  So there is 
a clean separation between the grammar and the code.

----- Original message -----
From: Eric Auer via Freedos-devel <[email protected]>
To: [email protected]
Cc: Eric Auer <[email protected]>
Subject: Re: [Freedos-devel] Simulated dot matrix printer
Date: Thursday, August 13, 2026 5:09 AM


Hi Ralf :-)

> "Friends don't let friends use DJGPP"...
> 
> Seriously, if there is supposed to be any use in that project, you don't 
> need another megabyte Linux binary trying to run on DOS... :(

You may want to port an up to date version of
dosfsck from dosfstools to DOS using another
32-bit compiler & DOS Extender in that case :-)

My 2002-2007 DJGPP-made binaries are < 64 kB.

Maybe the extremely large DJGPP ports which do
exist are caused more by including too heavy
frameworks because they are too easy to port
and less by DJGPP itself bloating DOS stuff?

Either way, an updated DOSFSCK would be welcome.

Eric




_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to