The Amsterdam Compiler Kit is a venerable piece of software that dates back to the early 1980s. It was originally written by Andrew Tanenbaum and Ceriel Jacobs as a commercial product; for many years it was also used as Minix' native toolchain. After eventually failing as a commercial project, it was made open source under a BSD license in 2003 when it looked like it was going to be abandoned and the code lost.

The ACK contains compilers for ANSI C, K&R C, Pascal, Modula-2, Occam 1, and a primitive Basic. It contains code generators for a large number of architectures, mostly 8 and 16 bit machines; there are also a set of generic optimisation, linker and librarian tools. Each language comes with its own runtime, so if you're a C programmer you also get a libc. Compared to gcc, it is far smaller, faster and easier to port.

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.

I was testing out pcc and trying to use it to compile my final project - and I ran into an issue with it. It isn't my project, pcc won't even compile a "hello, world" program. It gives the error:

/usr/include//sys/cdefs.h:254: error: "No function renaming possible"

You have to provide us information about your system and setup if you want help.

My fist hunch without any information about your system is that pcc compiler can not find even C libraries as your system is probably set up to use gcc. Do not worry PCC does compile. Without it we would not have BSD.

You have to provide us information about your system and setup if you want help.

My fist hunch without any information about your system is that pcc compiler can not find even C libraries as your system is probably set up to use gcc. Do not worry PCC does compile. Without it we would not have BSD.

I wasn't so much asking for help as pointing to a - huh, look at that. But, I'm running NetBSD 4.0.1 with kernel 5.99.01 and pcc-current (whatever that is in pkgsrc-2008Q3 - I can get exact version if you want). I went with current because apparently the makefile in the pcc source is still off (it won't properly compile - there's a PR already for that).

version: pcc 0.9.9 for i386--netbsdelf

I'm not going to worry too much about this now - my C/C++ programs this semester have to be compiled with gcc, so I was just taking pcc out for a little test drive. I'll be looking to get everything (that is everything, not just pcc) on my laptop working over Christmas break (about 80-90% there now).

__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)