i am trying to build an 64bit binaries & libs on Solaris 9 64bit. platform is a sun4u. gcc 3.2.3 and 3.3.1 habe hard-coded searchpaths which prevent me from building 64bit binaries.
Somehow I don't know if I am wrong or if there ia a potential problem in the official source tree for Solaris 9.
I do have following Environment: PATH=/opt/SUNWspro/bin:/usr/ccs/bin/sparcv9:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/local/bin LD_LIBRARY_PATH=/usr/lib/sparcv9:/usr/local/lib/sparcv9:/opt/SUNWspro/lib/v9/:/usr/lib/sparcv9:/usr/local/lib/sparcv9
due to the lack of "gmake" for Solaris, I linked /usr/ccs/bin/make to /usr/ccs/bin/gmake.
configure is called as follows: CC=/opt/SUNWspro/bin/cc ASFLAGS="-64 -xarch=v9" CFLAGS="-fast -xarch=v9 -YP,/opt/SUNWspro/prod/lib/v9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9" \ ./configure --prefix=/opt/postgres/server \ --enable-nls \ --with-pgport=5432 \ --enable-thread-safety \ --without-zlib \ --without-readline > /tmp/configure-server-V7.4.1 2>&1
make is called as follows: root# gmake > /tmp/make-server-V7.4.1 2>&1