diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-06-11 01:13:10 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-06-11 01:13:10 +0000 |
commit | 90d0cf0000848746d863fe93a86774fd231d311e (patch) | |
tree | baf6ce7be593d6961a15c3639323002a0ebcfb02 /src/backend/libpq/pqcomprim.c | |
parent | 4ea38446803cff182667f94ccd391db152d45fc4 (diff) | |
download | postgresql-90d0cf0000848746d863fe93a86774fd231d311e.tar.gz postgresql-90d0cf0000848746d863fe93a86774fd231d311e.zip |
From: Robert Bruccoleri <bruc@bms.com>
Subject: [PORTS] Patches for Irix 6.4
I have worked out how to compile PostgreSQL on Irix 6.4 using the -n32 compiler
mode and version 7.1 of the C compiler. (The n32 compiler use 32 bits
addressing,
but allows access to all the instructions in the MIPS4 instruction set.)
There were several problems:
1) The ld command is not referenced as a macro in all the Makefiles. On
this platform, you have to include -n32 on all the ld commands. Makefiles
were changed as needed.
3) Lots of warnings are generated from the compiler. Since the regression
tests worked OK, I didn't attempt to fix them. If anyone wants the compilation
log, please let me know, and I'll email it to you.
The version of postgresql was 970602. Here is Makefile.custom:
CUSTOM_COPT = -O2 -n32
MK_NO_LORDER = 1
LD = ld -n32
CC += -n32
Diffstat (limited to 'src/backend/libpq/pqcomprim.c')
-rw-r--r-- | src/backend/libpq/pqcomprim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/pqcomprim.c b/src/backend/libpq/pqcomprim.c index 00177da4416..2756285b176 100644 --- a/src/backend/libpq/pqcomprim.c +++ b/src/backend/libpq/pqcomprim.c @@ -32,9 +32,9 @@ # define hton_l(n) (ntoh_l(n)) # else /* BYTE_ORDER != BIG_ENDIAN */ # if BYTE_ORDER == PDP_ENDIAN -# #error PDP_ENDIAN macros not written yet +# error PDP_ENDIAN macros not written yet # else /* BYTE_ORDER != anything known */ -# #error BYTE_ORDER not defined as anything understood +# error BYTE_ORDER not defined as anything understood # endif /* BYTE_ORDER == PDP_ENDIAN */ # endif /* BYTE_ORDER == BIG_ENDIAN */ #endif /* BYTE_ORDER == LITTLE_ENDIAN */ |