With help from from Paul Cunningham and Mike Sullivan, I've switched to the Sun Studio compiler and refined my makefile. I've also picked up a newer tarball. This webrev is what I'm RTI-ing if there are no further comments:
http://cr.opensolaris.org/~rk142382/links reid
