From Newsgroup: comp.lang.c
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
Unlike mcc (a public domain compile for the x64), this was
written in C, not transpiled from M, so the code is meant to
be read and maintained.
It is called both xcc and scc
xcc.exe as a Windows executable (308k) can be obtained from the
PDOS/386 disk at
https://pdos.org/pdos.zip
(mount the vhd on Windows)
The makefile I use is \devel\pdos\pdpclib\makefile.xcc
pdmake -f makefile.xcc
read makefile.xcc to see the prereq
I also have a makefile.xcp for a static Windows executable (doesn't
use msvcrt.dll)
All this means that you can do Win32 development using only public
domain tools. The entire toolchain is public domain with C90 source code.
Note that xcc is having issues at the moment running on PDOS/386 itself.
That needs to be debugged in due course. (this is hot off the press)
I don't know what the limits of the compiler are. It may be fully C90 compliant.
It accepted all of my C90 code in PDPCLIB.
The compiler is 43,000 lines of code. 16 C files in a single directory.
No subdirectories.
It would be good if people could help lock down this compiler while we
still have an author willing to fix bugs for free.
BFN. Paul.
--- Synchronet 3.22a-Linux NewsLink 1.2