Hello,

if you are looking for a free (GPLv2) compiler that's included in FreeDOS,
have a look at the package BCC (Bruce's C compiler).

It can produce binaries in the small or tiny model, ie. you are
limited to 64kB of code + 64kB of data&stack or 64kB for everything.

It only supports ancient K&R syntax and has a very limited libc.
On the other hand you can use inline assembly to do the tricky
stuff yourself. (I don't think you can port the kernel or FreeCOM
to it.)

You can also use it on a GNU/Linux system as a cross compiler.
Use the option -Md to produce DOS binaries.
(Note: the version in FreeDOS is older and doesn't have the program
unprotoize available.)


P.S.:
My four-in-a-row game can be build under FreeDOS with BCC:
https://akfoerster.de/dl/akf-software/row4.zip

-- 
AKFoerster <https://AKFoerster.de/>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to