The "par" utility does not compile on windows.
There are a few problems. One is that par uses UNIX
system calls (open, write, close, lseek, mkdir, etc),
which are not part of Windows. The file operations
could be re-written to use ANSI C file functions in
stdio.h. We could use a #define to replace mkdir with
_mkdir() on windows.
The other problem is that "par" calls system("rm -f")
to clean up on error. I think this can be replaced
with the ANSI C remove().
Even though there are friendlier PAK utilities for
Windows, this is somewhat important because par is part
of our automated build process and it would be nice if
our build system were platform-independent.
Log in to post a comment.