pkgsrc-2012Q2 released

The release announcement for pkgsrc-2012Q2 is out.  New in this quarterly release: statistics about clang and pkgsrc.  A surprisingly large number of packages build just fine with clang instead of gcc.

pkgsrc database, compiler changes

I mentioned previously that Postgres 9 is already in pkgsrc, but the flip side of that is both Postgres 8.2, and MySQL 4 are being removed.  If you still have these installed, be ready to migrate at your next upgrade. Oh, and you can switch to clang for building pkgsrc, too.

More pcc notes

The compiler pcc, while having both history and speed, doesn’t get the attention that clang/LLVM gets.  There’s a NetBSD blog article about building NetBSD with pcc.  (via)  I recall it couldn’t be used for DragonFly because of TLS support; I don’t know if that’s still an issue.  It’s been covered here before.

More compilers, easily

Sascha Wildner has posted a patch that makes it very easy to switch out the compiler used to build DragonFly.  This builds on earlier work from Alex Hornung. This should make it into the base system.  Everyone’s looking at compilers that aren’t gcc these days, it seems.

Messylaneous, 03/12/2009

A bunch of links, cause that’s the easiest way to get this all out: ‘Beket’ has added a vkernel debugging howto on the DragonFly site. The Open64 compiler may work may work with some tweaking on DragonFly. And llvm/clang too. You can use BSD almost any way you want.  Linux, not so much.  (via) Hammer …

Analysis benefits

Sascha Wildner has been fixing various bugs in DragonFly through use of reports generated by the LLVM/Clang static analyzer.  There are many more fixes made by Sascha than what I linked here – thanks, Sascha!

GCC alternatives

pcc has been added to NetBSD (via pkgsrc) and OpenBSD, and Steve Mynott has been messing with it on DragonFly. It doesn’t work as a replacement for GCC, but it looks promising. There are other alternatives in progress, too.