public domain C compiler for i386 (Developers)
> 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:
- public domain C compiler for i386 - kerravon, 22.05.2026, 11:14 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- public domain C compiler for i386 - Rugxulo, 31.05.2026, 17:29
- public domain C compiler for i386 - kerravon, 02.06.2026, 06:28
- public domain C compiler for i386 - kerravon, 02.06.2026, 20:25
- public domain C compiler for i386 - kerravon, 03.06.2026, 23:01
- public domain C compiler for i386 - kerravon, 02.06.2026, 20:25
- public domain C compiler for i386 - kerravon, 02.06.2026, 06:28
- public domain C compiler for i386 - Rugxulo, 31.05.2026, 17:29
Mix view