Lesser known C compilers (8)

1 Name: #!usr/bin/anon 2005-12-22 01:21 ID:VhVugo3u

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.

2 Name: #!usr/bin/anon 2005-12-22 09:00 ID:z4inEJ8Y

borland?

3 Name: #!usr/bin/anon 2005-12-22 10:36 ID:Heaven

RealMan's Compiler Collection

http://somewhere.fscked.org/rmcc/

4 Name: #!usr/bin/anon 2005-12-22 15:00 ID:VhVugo3u

Do any of Borland's compilers have source code released?

>>3
Funny, but that's just a shell script that calls gcc.

5 Name: #!usr/bin/anon 2005-12-23 07:33 ID:Heaven

>>4
it's also not very UNIX-like, it should not print anything on stdout if there are no errors

6 Name: #!usr/bin/anon 2005-12-23 23:19 ID:VhVugo3u

>>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.

7 Name: #!/usr/bin/anon 2006-01-10 08:53 ID:nyEn+yv7

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!

8 Name: #!/usr/bin/anon 2006-01-10 16:47 ID:VhVugo3u

>>7
I tried it on OpenBSD, thinking maybe the advertised FreeBSD support was close enough and it couldn't hurt to try. It doesn't like parts of the system headers. I'll send you the output of the tests anyway (presumably you are the nwcc author).

This thread has been closed. You cannot post in this thread any longer.