Re: Solaris SPARC - Sun compiler 5.5 - 64 bit

From: "Clark, Andrew" <Andrew(dot)Clark(at)fnf(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
Date: 2005-07-29 15:45:15
Message-ID: 74825F195D477C4995425A1313D646B14B850A@smbfisyyz01.FNFIS.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Tom,

I added LDFLAGS_SL and everything compiled and all regression tests
passed.

Thanks!
Andrew

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: July 29, 2005 11:26 AM
To: Clark, Andrew
Cc: Peter Eisentraut; pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] Solaris SPARC - Sun compiler 5.5 - 64 bit

"Clark, Andrew" <Andrew(dot)Clark(at)fnf(dot)com> writes:
> Well that definitely did something, but now I get a different error:

OK, thanks for the confirmation. There was some discussion recently of
whether we shouldn't add -DSUNOS4_CC to the solaris template, but we
didn't have proof.

> Here is my configure command:

> ./configure \
> CFLAGS="-v -xtarget=ultra2 -xarch=v9a -xchip=ultra2 -DSUNOS4_CC" \
> LDFLAGS="-v -xtarget=ultra2 -xarch=v9a -xchip=ultra2" \
> --without-readline \ --without-zlib \ --prefix=$HOME/UAT/postgres \
> --enable-thread-safety \ --enable-integer-datetimes

AFAIK you have to specify both LDFLAGS and LDFLAGS_SL if you want manual
configuration of link options. LDFLAGS is used for building regular
executables, LDFLAGS_SL for shared libraries.

regards, tom lane

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2005-07-29 16:17:45 Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
Previous Message Tom Lane 2005-07-29 15:25:35 Re: Solaris SPARC - Sun compiler 5.5 - 64 bit