Needed the following patches to get it to compile on a DS20. It is an
ev6, so it wasn't recognised and one of the defines in s_lock.h was
wrong.
Adriaan*** postgresql-6.5.2/src/config.sub Sat Sep 18 19:00:31 1999
--- postgresql-6.5.2/src/config.sub.orig Tue Apr 20 03:26:31 1999
***************
*** 152,158 ****
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
| 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
! | alpha | alphaev5 | alphaev56 | alphaev6 | we32k | ns16k | clipper \
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
--- 152,158 ----
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
| 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
! | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
***************
*** 176,182 ****
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0*-* \
! | alpha-* | alphaev5-* | alphaev56-* | alphaev6-* | we32k-* | cydra-* \
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
--- 176,182 ----
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0*-* \
! | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
*** postgresql-6.5.2/src/template/alpha_cc Sat Sep 18 19:00:58 1999
--- postgresql-6.5.2/src/template/alpha_cc.orig Sat Sep 18 19:12:47 1999
***************
*** 5,11 ****
# This is defined here because a bunch of clients include tmp/c.h,
# which is where the work is done on HP-UX. It only affects the
# backend on Ultrix and OSF/1.
- CC:cc
CFLAGS:-DNOFIXADE -std -O4 -Olimit 2000
SHARED_LIB:
ALL:
--- 5,10 ----
*** postgresql-6.5.2/src/include/storage/s_lock.h Sat Sep 18 19:06:24 1999
--- postgresql-6.5.2/src/include/storage/s_lock.h.orig Fri Jul 30 20:07:17 1999
***************
*** 226,232 ****
* All non gcc
*/
! #if defined(__alpha)
/*
* OSF/1 (Alpha AXP)
*
--- 226,232 ----
* All non gcc
*/
! #if defined(__alpha__)
/*
* OSF/1 (Alpha AXP)
*