What are some C compilers that aren't gcc, lcc, TinyCC, or TenDRA? In particular, I have Unix-like operating systems in mind, but any obscure C compiler with sources is worth sharing if you know of one.
borland?
RealMan's Compiler Collection
Do any of Borland's compilers have source code released?
>>3
Funny, but that's just a shell script that calls gcc.
>>4
it's also not very UNIX-like, it should not print anything on stdout if there are no errors
>>5
I don't think compilers should print anything on stdout period, unless you've turned a weird option on. Errors and warnings go to stderr.
I found some interesting projects, but nothing usable at the moment:
nwcc, http://nwcc.sourceforge.net/
The Amsterdam Compiler Kit, http://tack.sourceforge.net/
nwcc is a new compiler that's totally unfinished, and although it compiles on my system, it's unable to compile any programs, and all the tests fail. I haven't worked out why yet. TACK is a mature and well-tested compiler that is however old and hasn't been touched since the early 90's, except for small fixes to make it compile on Linux. It doesn't seem to produce binaries for any modern systems yet, but there is good code in there.
If anyone knows of others, I'm still interested.
Hi, do those nwcc test cases work on your system now? Presumably you were either missing NASM or tried it on a too new or too old Linux system. If you're running some sort of Linux and those tests still fail for you, I'd be greatly interested in seeing some of the error messages you're getting. Please mail me the output of ``./test.sh --verbose'' (I know that will give you many warnings but those are more or less intended) if it's still not working. Thank you!