Well, as Leif_- stated, it didn't seem too hard to get compiled. There were a few quirks, but nothing drastic. It seems like it's working fine, but then I've no .tga viewer on this machine, so I'm taking on faith that it functions properly. Anyway, if anyone wants to grab it, it is for the moment at:
http://gozips.uakron.edu/~emil/dommap.zip
A sample output is at:
http://gozips.uakron.edu/~emil/dommap.zip
The program is of course provided as-is, no guarentees, use at your own risk, blah, blah, blah. If it's not working, let me know, and I'll try to fix it (within my capabilities). And I'd appreciate if, should it prove to be correct and of use, for someone to find it a more permanent home than where it currently resides...