It has been a while, but I know I had compiled cvs with watcom in the past. I wouldn’t necessarily expect configure to get it right - it tends to leap onto the fact you have gcc (assuming you have it installed). You could try forcing configure to use watcom and see where that leads you. It is doable if knowing that is any help.
this creates a Makefile and a config.h. i typed ‘make’ and watched watcom begin building the program. there were a few typecasting problems between the two compilers [gcc and watcom] that had to be hand-edited to get them to compile, but they are minor.
at the end, however, the make failed. it turns out that the ./configure script could not detect my system’s readlink function. to fix this, i hacked the config.h file and added these lines:
#define HAVE_READLINK 1
#include <unistd.h>
after this, everything linked and binaries got built. ‘make install’ put them in my PATH, then i tested the new cvs with my company’s CVS server.
this binary works like a champ! i’ve checked out our ‘trivial’ project, made a modification, listed the updates and diffs, then committed the changes to the archive.
thanks for the support - if anyone would like further explanation about the porting process, just post to this forum.