News for hackers. Stuff that matters.
Re:A minimal C compiler in x86 assembly by tomcam on Tuesday May 03, 2022 @12:42AM (#31244713)
Gotta love this. I hope to see documented what subset of C it will support
Re:A minimal C compiler in x86 assembly by LeFantome on Tuesday May 03, 2022 @12:57PM (#31250603)
I believe it was said elsewhere that it was expected to compile GCC 4.7 so that gives you a solid idea of the C features it supports.
Re:A minimal C compiler in x86 assembly by tomcam on Tuesday May 03, 2022 @05:03PM (#31253562)
And so it does, thank you for catching that. I fear that goal is unreachable with such a small team. GCC is hella complicated.
Re:A minimal C compiler in x86 assembly by MaxBarraclough on Thursday May 05, 2022 @03:23PM (#31277424)
I'd be more optimistic. The cproc C compiler has only a very small team but it supports enough of the C language to compile GCC 4.7.

https://github.com/michaelforney/cproc

Re:A minimal C compiler in x86 assembly by tomcam on Friday May 06, 2022 @10:29PM (#31291674)
That's news to me! Not sure cproc existed last time I looked at GCC but that was a long time ago. Thank you.