Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

public domain C compiler for i386 (Developers)

posted by Rugxulo Homepage, Usono, 31.05.2026, 17:29

> Robert Pengelly has written a C compiler for the 80386
> and released the code to the public domain. It's available here:
>
> git clone https://git.candlhat.org/scc.git
>
> xcc.exe as a Windows executable (308k) can be obtained from the
> PDOS/386 disk at https://pdos.org/pdos.zip
>
> I also have a makefile.xcp for a static Windows executable (doesn't
> use msvcrt.dll)
>
> but you'll presumably need to do some work to get a suitable C library.
>
> Note that xcc is having issues at the moment running on PDOS/386 itself.
> I haven't tried running under DOS + HX yet either.
>
> It would be good if people could help lock down this compiler while we
> still have an author willing to fix bugs for free.

I'm not sure how to test it.

PDOS/386 supposedly doesn't work as host yet. HX hasn't been tested. Dunno if just using TinyC headers and libs would work (or OpenWatcom or MinGW or whatever).

If anyone finds out, please tell us.

(I have only lightly played with SubC and PicoC in DOS recently. Those are subsets, but I also have fuller C compilers like DJGPP and OpenWatcom and SmallerC that I sometimes use.)

 

Complete thread:

Back to the forum
Board view  Mix view
23454 Postings in 2214 Threads, 407 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum