I tried to many times, but I failed. I finally got g++ to compile, as well as its library, but when trying to make groff it died *while compiling* ("unaligned access"). I give up. I don't really think g++ is made for Ultrix/mips (as it says in one of its readme files).