I haven't tried building postgres with the Watcom compiler for 7.1 because

Bruce Momjian <bruce@momjian.us>

Commit: f36fc7bb63addb9254e6d0db77e511841eba8de8
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-05-24T15:53:34Z
Releases: 7.2.1
I haven't tried building postgres with the Watcom compiler for 7.1 because
it does not support 64bit integers. AFAIK that's the default data type for
OIDs, so I am not surprised that this does not work. Use gcc instead.
BTW., 7.1 does not compile as is with gcc either, I believed the
required patches made it into the 7.1.1 release but obviously I missed
the deadline.
Since the ports mailing list does not seem to be archived I have attached
a copy of the patch (for 7.1 and 7.1.1).

I've just performed a build of a Watcom compiled version and found a couple
of bugs in the watcom specific part of that patch. Please use the attached
version instead.

Tegge, Bernd

Files

PathChange+/−
doc/FAQ_QNX4 modified +58 −28
src/backend/Makefile modified +3 −2
src/backend/port/qnx4/sem.c modified +38 −3
src/backend/port/qnx4/shm.c modified +50 −11
src/backend/port/qnx4/tstsem.c modified +5 −1
src/bin/ipcclean/ipcclean.sh modified +12 −2
src/include/port/qnx4.h modified +0 −10
src/include/storage/s_lock.h modified +13 −13
src/makefiles/Makefile.qnx4 modified +2 −2
src/pl/plpgsql/Makefile modified +10 −1