Re: Solaris SPARC - Sun compiler 5.5 - 64 bit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Clark, Andrew" <Andrew(dot)Clark(at)fnf(dot)com>
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:25:35
Message-ID: 24045.1122650735@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"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

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Clark, Andrew 2005-07-29 15:45:15 Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
Previous Message Clark, Andrew 2005-07-29 15:20:04 Re: Solaris SPARC - Sun compiler 5.5 - 64 bit