Small patch to compile on IRIX 6.5 with gcc

From: Matteo Beccati <php(at)beccati(dot)com>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Small patch to compile on IRIX 6.5 with gcc
Date: 2007-02-25 10:30:36
Message-ID: 45E1654C.6070001@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi,

had some spare time and I've been finally able to install some tools to
compile PostgreSQL on my SGI Octane 2 box, which is running IRIX 6.5.30.

Afre succesfully installing gcc-3.3, gmake, readline and some other
freeware packages, I tried to compile PgSQL.

This is the configure line:

CC="/usr/freeware/bin/gcc" CFLAGS="-I/usr/freeware/include
-L/usr/freeware/lib32" ./configure

There were a lot of complaints about missing declaration for base
functions (i.e. malloc), and a few errors. The attached patch fixes the
errors and allows gmake to build all. There is no failure in the
regression tests.

Of course, the patch is just a hack. If anyone is wanting to properly
address it I could create and ssh account.

Best regards
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com

Attachment Content-Type Size
pgsql-sgi.diff text/plain 1.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-02-25 14:17:47 Re: Small patch to compile on IRIX 6.5 with gcc
Previous Message Pavan Deolasee 2007-02-24 18:36:04 HOT WIP Patch - version 3.2