mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -13,5 +13,5 @@ CFLAGS_SL =
|
||||
%$(DLSUFFIX): %.o
|
||||
@echo 'cannot make shared object $@ from $<'
|
||||
|
||||
# Hack alert! Fix your compiler installation...
|
||||
override CXXFLAGS +=-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++
|
||||
override CXXFLAGS +=-I/usr/local/include/g++
|
||||
override CFLAGS +=-I/usr/local/include
|
||||
|
Reference in New Issue
Block a user