Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
От | Clark, Andrew |
---|---|
Тема | Re: Solaris SPARC - Sun compiler 5.5 - 64 bit |
Дата | |
Msg-id | 74825F195D477C4995425A1313D646B14B850A@smbfisyyz01.FNFIS.COM обсуждение исходный текст |
Ответ на | Solaris SPARC - Sun compiler 5.5 - 64 bit ("Clark, Andrew" <Andrew.Clark@fnf.com>) |
Список | 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 по дате отправления: