Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5

From: Yu Cao <yucao(at)falcon(dot)kla-tencor(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Date: 1999-09-06 06:55:56
Message-ID: Pine.SOL.3.96.990905235305.5809A-200000@jedi.kla-tencor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

Hi Tom, thanks for the tip. I ended up just adding a few lines to
Makefile.shlib. Attached is the context diff. The patch has been
tested on IRIX 6.5.2 with MIPSpro C and C++ compiler version 7.2.1
using -n32 ABI.

--Yu Cao

On Sat, 4 Sep 1999, Tom Lane wrote:

> Yu Cao <yucao(at)falcon(dot)kla-tencor(dot)com> writes:
> > I'm not sure whether using "CC" to create libraries for the pure C
> > modules would work (my guess is it should and I'll try it). If it does
> > then it'll be easy to patch the IRIX makefile template. But then the
> > downside is people will be required to have the C++ compiler even if
> > they don't care about libpq++.
>
> Not necessarily. Since 6.4 or so, the "template" files are not just
> static assignments of variable values --- they can actually contain
> arbitrary fragments of shell script (see configure.in's code that
> reads them). So you could do something like
> if [ -x /usr/bin/CC ]
> then
> CC= CC
> else
> CC= cc
> fi
> in the IRIX template.
>
> regards, tom lane
>
> ************
>
>
>

Attachment Content-Type Size
Makefile.shlib.patch text/plain 439 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Leon 1999-09-06 11:51:46 Re: [HACKERS] DROP TABLE inside transaction block
Previous Message Bruce Momjian 1999-09-06 02:34:53 Re: [HACKERS] relcache.c leaks refcnts

Browse pgsql-ports by date

  From Date Subject
Next Message Ron Grant 1999-09-06 07:20:07
Previous Message James Youngman 1999-09-04 21:11:44 PostgreSQL bug report -- but the submission address doesn't work!