Zhuo Yang wrote:
I've never seen a version of GCC on Solaris x86 or Solaris SPARC that
could build 64-bit binaries, so I've never tried it.
GCC compilers that were used for compiling 64-bit binaries:
- GCC 3.4.6 for Sun Sparc / Solaris 10.
- Download from http://www.sunfreeware.com/indexsparc10.html
- (I think GCC that comes with Solaris 10 in /usr/sfw/bin can
build 64-bit as well.)
I don't have any SPARC hardware, so I can't test this.
- GCC 3.4.3, that comes with Solaris 10 x86 OS installation, can
build 64-bit.
"If you need to do 64-bit compiles, you should use the gcc-3.4.3
that comes with Solaris 10 in /usr/sfw/bin." (See comments at
http://www.sunfreeware.com/indexintel10.html for
gcc-3.4.6-sol10-x86-local.gz)
I've tried to do this, and have always had problem getting even Xerces-C
to build using that compiler. I'll try again with the latest Solaris
distribution and see what happens.
In the meantime, you can try this yourself, by modifying runConfigure to
add -m64 to the bitstobuildDefines variable for the Linux platform, and
use that to build.
Dave