On the nightmare on compiler/linker issues to get POSIX threads running, see: http://svn.apache.org/repos/asf/xalan/c/trunk/runConfigure