Solaris SPARC - Sun compiler 5.5 - 64 bit

From: "Clark, Andrew" <Andrew(dot)Clark(at)fnf(dot)com>
To: <pgsql-ports(at)postgresql(dot)org>
Cc: "Clark, Andrew" <Andrew(dot)Clark(at)fnf(dot)com>
Subject: Solaris SPARC - Sun compiler 5.5 - 64 bit
Date: 2005-07-26 14:06:08
Message-ID: 74825F195D477C4995425A1313D646B114A8C0@smbfisyyz01.FNFIS.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi all,

I've been trying to compile a 64bit version of PostgreSQL on Solaris
sparc using Sun compiler 5.5, unfortunately I keep getting errors when
compiling. I can compile PostgreSQL as 32bit without any problems, but
not 64bit.

So I am hoping someone on this list will be able to help. I'm getting
frustrated!

I think I'm using configure wrong. Below are the details on my
environment, and how I try to compile PostgreSQL.

Machine:
SunOS dev 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V440

Compiler:
cc: Sun C 5.5 2003/03/12

Environment:

PATH=/devtools/WS8.0/SUNWspro/bin/sparcv9:/devtools/WS8.0/SUNWspro/bin:/
usr/bin/sparcv9:/usr/bin:/usr/ccs/bin/sparcv9:/usr/ccs/bin:/usr1/clarka/
bin

LD_LIBRARY_PATH=
LD_LIBRARY_PATH_32=/lib:/devtools/WS8.0/SUNWspro/lib:/devtools/oracle/8.
1.7_64/lib:/devtools/sybase-12_0/OCS-12_0/lib:/usr1/clarka/lib
LD_LIBRARY_PATH_64=/lib/64:/lib/sparcv9:/devtools/WS8.0/SUNWspro/lib/v9:
/devtools/oracle/8.1.7_64/lib64:/devtools/sybase-12_0/OCS-12_5/lib:/devt
ools/sybase-12_0/OCS-12_5/lib3p64:/usr1/clarka/lib

Compiling commands:

./configure CFLAGS="-xtarget=ultra2 -xarch=v9a -xchip=ultra2"
--without-readline --without-zlib --prefix=$HOME/UAT/postgres
--enable-thread-safety --enable-integer-datetimes
make
make install

Thanks,
Andrew

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message OpenMacNews 2005-07-26 17:05:52 starting PgSQL w/ launchd on OSX 10.4.2
Previous Message Tom Lane 2005-07-24 17:39:25 Re: gcc 4.0 build failures on m68k, mips, and mipsel