In my never ending quest to have oksh support every C compiler in existence, I have ported two more C compilers to OpenBSD. They are chibicc and kefir. As always, let’s review them and at the end I’ll have links to unofficial ports so that you can play around with these C compilers.
As you all know, these things are a little over my head, but I know many OSNews readers are far more knowledgeable about and interested in these things than I am.
The beauty of a well defined language that exist as a official peer reviewed registered standard.
I found the comment regarding his neverending quest to have oksh support every C compiler in existence to be more of a challenge. Having just put my Quadra 700 to use on PR#1 for the auxdoom work, I decided to build oksh there. And it immediately fails. oksh needs C99, which is right away a problem on A/UX. Both the Apple included C compiler on A/UX and gcc 2.7.2 from jagubox do not support this because C99 was not a standard yet. Of these two, gcc is closer to C89. The Apple C compiler is pre-ANSI. The source makes use of things we take for granted today, such as stdbool.h and stdint.h but back before computers knew more about themselves we didn’t have such luxurious headers.
I may try to work on this more because none of the problems are impossible to deal with, I just doubt the PR would be accepted. Maybe I shouldn’t care.