X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AA5B752812 for ; Fri, 29 Jul 2005 12:26:00 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69461-01 for ; Fri, 29 Jul 2005 15:25:48 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1C0A45293F for ; Fri, 29 Jul 2005 12:25:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6TFPZth024046; Fri, 29 Jul 2005 11:25:35 -0400 (EDT) To: "Clark, Andrew" Cc: "Peter Eisentraut" , pgsql-ports@postgresql.org Subject: Re: Solaris SPARC - Sun compiler 5.5 - 64 bit In-reply-to: <74825F195D477C4995425A1313D646B114A8C7@smbfisyyz01.FNFIS.COM> References: <74825F195D477C4995425A1313D646B114A8C7@smbfisyyz01.FNFIS.COM> Comments: In-reply-to "Clark, Andrew" message dated "Fri, 29 Jul 2005 10:20:04 -0500" Date: Fri, 29 Jul 2005 11:25:35 -0400 Message-ID: <24045.1122650735@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/30 X-Sequence-Number: 2170 "Clark, Andrew" 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