Re: Solaris SPARC - Sun compiler 5.5 - 64 bit - Mailing list pgsql-ports

From Clark, Andrew
Subject Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
Date
Msg-id 74825F195D477C4995425A1313D646B14B850A@smbfisyyz01.FNFIS.COM
Whole thread Raw
In response to Solaris SPARC - Sun compiler 5.5 - 64 bit  ("Clark, Andrew" <Andrew.Clark@fnf.com>)
List pgsql-ports
Tom,

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

Thanks!
Andrew

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

"Clark, Andrew" <Andrew.Clark@fnf.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



pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
Next
From: Tom Lane
Date:
Subject: Re: Solaris SPARC - Sun compiler 5.5 - 64 bit