Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90d0cf0

Browse files
committed
From: Robert Bruccoleri <bruc@bms.com>
Subject: [PORTS] Patches for Irix 6.4I have worked out how to compile PostgreSQL on Irix 6.4 using the -n32 compilermode and version 7.1 of the C compiler. (The n32 compiler use 32 bitsaddressing,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. Onthis platform, you have to include -n32 on all the ld commands. Makefileswere changed as needed.3) Lots of warnings are generated from the compiler. Since the regressiontests worked OK, I didn't attempt to fix them. If anyone wants the compilationlog, please let me know, and I'll email it to you.The version of postgresql was 970602. Here is Makefile.custom:CUSTOM_COPT = -O2 -n32MK_NO_LORDER = 1LD = ld -n32CC += -n32
1 parent4ea3844 commit90d0cf0

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

‎src/backend/access/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
# Makefile for the access methods module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.2 1996/11/10 03:11:46 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.3 1997/06/11 01:11:30 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11+
SRCDIR = ../..
12+
include ../../Makefile.global
13+
1114
OBJS = common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o\
1215
index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS.o transam/SUBSYS.o
1316

‎src/backend/bootstrap/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the bootstrap module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.9 1997/06/11 01:05:48 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.10 1997/06/11 01:11:55 scrappy Exp $
88
#
99
#
1010
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -38,7 +38,7 @@ OBJS= bootparse.o bootscanner.o bootstrap.o
3838
all: SUBSYS.o
3939

4040
SUBSYS.o:$(OBJS)
41-
ld -r -o SUBSYS.o$(OBJS)
41+
$(LD) -r -o SUBSYS.o$(OBJS)
4242

4343
# bootstrap.o's dependency on bootstrap_tokens.h is computed by the
4444
# make depend, but we state it here explicitly anyway because

‎src/backend/libpq/pqcomprim.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
# definehton_l(n) (ntoh_l(n))
3333
# else/* BYTE_ORDER != BIG_ENDIAN */
3434
# ifBYTE_ORDER==PDP_ENDIAN
35-
##error PDP_ENDIAN macros not written yet
35+
# error PDP_ENDIAN macros not written yet
3636
# else/* BYTE_ORDER != anything known */
37-
##error BYTE_ORDER not defined as anything understood
37+
# error BYTE_ORDER not defined as anything understood
3838
# endif/* BYTE_ORDER == PDP_ENDIAN */
3939
# endif/* BYTE_ORDER == BIG_ENDIAN */
4040
#endif/* BYTE_ORDER == LITTLE_ENDIAN */

‎src/backend/optimizer/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
# Makefile for optimizer
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.3 1997/02/1912:56:31 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.4 1997/06/11 01:12:55 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11+
SRCDIR= ../..
12+
include ../../Makefile.global
13+
1114
all: submake SUBSYS.o
1215

1316
OBJS = path/SUBSYS.o plan/SUBSYS.o prep/SUBSYS.o util/SUBSYS.o geqo/SUBSYS.o

‎src/backend/storage/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
# Makefile for the storage manager subsystem
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.2 1996/11/10 03:13:59 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.3 1997/06/11 01:13:10 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11+
SRCDIR= ../..
12+
include ../../Makefile.global
13+
1114
all: submake SUBSYS.o
1215

1316
OBJS = buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp