From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Yu Cao <yucao(at)falcon(dot)kla-tencor(dot)com> |
Cc: | pgsql-ports(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5 |
Date: | 1999-09-04 15:18:06 |
Message-ID: | 24128.936458286@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-ports |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-09-04 15:35:46 | Re: [HACKERS] temp table oddness? |
Previous Message | Tom Lane | 1999-09-04 15:08:23 | Re: [HACKERS] array manipulations |
From | Date | Subject | |
---|---|---|---|
Next Message | James Youngman | 1999-09-04 21:11:44 | PostgreSQL bug report -- but the submission address doesn't work! |
Previous Message | Ross Sieber | 1999-09-04 12:45:21 | Re: undefined reference to 'crypt' |