Hi,
On Sun, May 25, 2025 at 04:46:10PM -0700, Bakul Shah via TUHS wrote:
There are a number of such efforts. Apart from the
ones
already mentioned, there are at least
https://git.sr.ht/~mcf/cproc &
https://www.simple-cc.org/
May be you can help them out....
The author of simple-cc here. I would say that cproc is a very good
state and it is able to compile many, many things because it
implemented C11 and many c23 features and a small subset of GNU
extensions that (sadly) are used by many projects today.
The case of simple-cc is different, because it is a more ambitious
project and it implements a full toolchain, including things like
nm, size, as, ... and even a tiny libc. It means that the work is
more disperse between the different tools and the compiler itself
targets only C99 and lacks many features of it (yet).
The difficulty is in maintaining such compilers,
standard
compliance, complete toolchains for supported platforms, other
support programs, dealing with platform changes etc.
Indeed. Recently the support for OpenBSD was broken because they
introduced
https://man.openbsd.org/pinsyscalls.2 .
Regards,