Hi there, I have patched mandoc to work with IRIX, but I have a feeling that the fixes made will require some changes. Let me first explain my goals here: I am patching mandoc to work with MIPSPro, the native compiler of IRIX, so I'll have to explain the changes I made to get it to build: http://gitea.irixce.org/Raion/Xenopatches/raw/branch/master/mandoc/mandoc.patch Here's the patch file. First change is because it doesn't reliably detect the c99 driver, and as the code uses non ANSI-related things, it needs to detect c99. This can probably be disregarded, as can the CFLAGS reference. Next one is in mandoc.h, and it's because MIPSPro doesn't support the __attribute__ block. This could be fixed with a guard for non-GCC compilers, like this: #ifdef __GNUC__ __attribute__((__format__ (__printf__, 4, 5))); #endif Or something. I would hope that you won't lock it out to GCC or clang, because I'm sure there's other compilers this thing chokes on. The rest are to fix the IRIX printf() implementation, which doesn't allow for %zu as mandoc currently does. You can see my discussion with a colleague on the topic here: https://forums.irixnet.org/thread-1946-post-14522.html I understand if you do not want to upstream all of these changes, but I would hope that we can take some action to prevent someone else from having to go through this. Surely, this is not the only UNIX that would cause this. Yes, GCC works, but we don't have clang and often times using a GPL compiler isn't only against my own principles when we have perfectly good alternatives, and MIPSPro performs better on IRIX than GCC. If I can be of any assistance or questions in regards to this patch, let me know! -Kazuo Kuroi