port to IRIX 6.3

From: Clemens Vonrhein <vonrhein(at)GlobalPhasing(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: port to IRIX 6.3
Date: 1999-12-08 12:23:56
Message-ID: 199912081223.MAA23457@GlobalPhasing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Maybe this is of interest for you:

Version : PostgreSQL 6.5.3
=======

System : SGI O2, R10000, IRIX 6.3 (more or less up to date with
====== official SGI patches)

Compilers : MIPSpro C 7.2, gcc 2.95 (c++)
=========

Perl : 5.005_03
====

Tcl/Tk : 8.2.2
======

Configuration :
=============
setenv ac_cv_lib_gen_main no
setenv ac_cv_lib_socket_main no
setenv ac_cv_lib_nsl_main no

# see SGI freeware site freeware.sgi.com)

./configure --with-CC="cc -n32" \
--with-CXX=c++ \
--with-perl \
--with-tcl

Compilation : gmake LD="ld -n32" CC="cc -n32" all
=========== gmake LD="ld -n32" CC="cc -n32" install

Changes :
=======

*** postgresql-6.5.3/src/backend/Makefile.dist Sun Mar 7 23:05:56 1999
--- postgresql-6.5.3/src/backend/Makefile Wed Dec 8 11:16:33 1999
***************
*** 75,81 ****

ifneq ($(PORTNAME), win)
postgres: fmgr.h $(OBJS) ../utils/version.o
! $(CC) -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
else
postgres: $(DLLOBJS) ../utils/dllinit.o postgres.def libpostgres.a
dlltool --dllname $(at)$(X) --output-exp $(at)(dot)exp --def postgres.def
--- 75,85 ----

ifneq ($(PORTNAME), win)
postgres: fmgr.h $(OBJS) ../utils/version.o
! # $(CC) -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
! -rm -f *.o
! find . -name "*.o" -exec cp \{\} . \;
! rm -f SUBSYS.o
! $(CC) -o postgres *.o ../utils/version.o $(LDFLAGS)
else
postgres: $(DLLOBJS) ../utils/dllinit.o postgres.def libpostgres.a
dlltool --dllname $(at)$(X) --output-exp $(at)(dot)exp --def postgres.def

Regression test went ok (gmake LD="ld -n32" CC="cc -n32"
runtest). There are some files in expect that contain values of "-0"
instead of "0": this is reported as 'failure'.

Cheers

Clemens
--

****************************************************************
* Clemens Vonrhein BUSTER Development Group *
* http://Lagrange.mrc-lmb.cam.ac.uk *
* *
* email: vonrhein(at)GlobalPhasing(dot)com *
* *
* Global Phasing Ltd. *
* Sheraton House *
* Castle Park *
* Cambridge CB3 0AX *
* UK *
* Tel: +44-(0)1223-353033 Fax: +44-(0)1223-366889 *
****************************************************************

Browse pgsql-ports by date

  From Date Subject
Next Message Kardos, Dr. Andreas 1999-12-08 17:17:42 PostgreSQL 6.5.2 ported to QNX 4
Previous Message Bruce Momjian 1999-12-07 03:21:09 Re: [GENERAL] memory