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

From Clark, Andrew
Subject Solaris SPARC - Sun compiler 5.5 - 64 bit
Date
Msg-id 74825F195D477C4995425A1313D646B114A8C0@smbfisyyz01.FNFIS.COM
Whole thread Raw
Responses Re: Solaris SPARC - Sun compiler 5.5 - 64 bit
List 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


pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel
Next
From: OpenMacNews
Date:
Subject: starting PgSQL w/ launchd on OSX 10.4.2