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-hackers(at)postgresql(dot)org
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Date: 1999-09-06 23:39:27
Message-ID: Pine.SOL.3.96.990906162431.6267A-200000@jedi.kla-tencor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

That's a good point (about interfering with gcc/g++). But I'm still
a bit hesitant about changing the default AR and LD for all other
libraries (although in theory it shouldn't do any harm). And if we
changed the default, gcc/g++ users (who happen to have CC installed
on their system) would again have to find a way to override it. So
attached is another try: I put the mods in interfaces/libpq++/Makefile.in.
That file already had some checks on PORTNAME (for windows) and CXX (for
g++), so it seems adding more checks (for irix5 and CC) doesn't make it
uglier and also gets the job done with minimal impact on other things.

--Yu Cao

On Mon, 6 Sep 1999, Tom Lane wrote:

> Yu Cao <yucao(at)falcon(dot)kla-tencor(dot)com> writes:
> > 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.
>
> That fix bothers me, because it would interfere with someone trying
> to use gcc/g++, wouldn't it? Seems safer to just alter configure's
> default...

Attachment Content-Type Size
Makefile.in.patch text/plain 440 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 1999-09-07 01:13:05 RE: [HACKERS] DROP TABLE inside transaction block
Previous Message Hannu Krosing 1999-09-06 18:29:20 Re: [HACKERS] DROP TABLE inside transaction block

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 1999-09-07 13:18:02 Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Previous Message Phil Robinson 1999-09-06 22:43:37 Fw: Postgres installation - failure