Re: pgsql/src/makefiles (Makefile.freebsd Makefile.hpux Makefile.irix5 Makefile.linux Makefile.netbsd Makefile.openbsd Makefile.osf Makefile.solaris Makefile.unixware)

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src/makefiles (Makefile.freebsd Makefile.hpux Makefile.irix5 Makefile.linux Makefile.netbsd Makefile.openbsd Makefile.osf Makefile.solaris Makefile.unixware)
Date: 2000-10-28 15:04:30
Message-ID: 20001028100430.A10036@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

* Peter Eisentraut <peter_e(at)gmx(dot)net> [001028 09:53]:
> Larry Rosenman writes:
>
> > Be aware that the -R for UnixWare is a *NEW* feature for the 7.1.1b
> > Feature Supplement. (Should be out by 7.1 REL, but isn't YET).
>
> Hmm, do the old linkers bark at this? If so, should we remove it or is it
> worth putting in a special check? (And what would that check be?)
I think a special check is warranted. We *WANT* the run-path to work.
$ ld -V
UX:ld: INFO: Optimizing C Compilation System (CCS) 4.0 10/07/00 (UDK FS 7.1.1b)

Pre the Feature supplement the (CCS) number was less than 4.0:
UX:ld: INFO: Optimizing C Compilation System (CCS) 3.2 09/28/99 (santamariasbl5.1.rs1ubl7)

I'd use that as a check

Also the __SCO_VERSION__ was less than:
$ more xx.c
#include <stdio.h>
int main(int argc, char **argv)
{
printf("__SCO_VERSION__=%ld\n",__SCO_VERSION__);
}
$ cc -O -o xx xx.c
$ ./xx
__SCO_VERSION__=400200010
$
I'd either parse ld -V or run a quick C program and check the first
digit of __SCO_VERSION__ for 4 or greater (or 3 or less to negate it).

Larry
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut - PostgreSQL 2000-10-28 15:10:37 pgsql/src/interfaces/odbc (GNUmakefile bind.c environ.c options.c)
Previous Message Peter Eisentraut 2000-10-28 14:57:47 Re: pgsql/src/makefiles (Makefile.freebsd Makefile.hpux Makefile.irix5 Makefile.linux Makefile.netbsd Makefile.openbsd Makefile.osf Makefile.solaris Makefile.unixware)