Lists all of the journal entries for the day.

Tue, 13 May 2008

12:37 AM - pcc compiler

I added the pcc compiler to ports. As some of you know, I made an attempt to get it working in src awhile back and hit some issues with the way GCC is setup on MidnightBSD. (funny isn't it) I need to revisit that issue when I get some free time.

Some changes were made on CURRENT to facilitate compiling using pcc with some of our system headers. I can now compile cp in src with pcc. The binary is a bit smaller than GCC's version. It seems to run. I'm not ready to give it a glaring endorsement.

Both cdefs.h and stdarg.h required changes. I decided to put the changes in i386, amd64 and sparc64 on the rare hope that we'll see ports to other platforms working in the future. Currently, pcc is working on i386.

I would love some feedback on things that work and don't work in src.

One warning, some of the POSIX visability stuff was circumvented while using pcc.

tags: compiler pcc

()