[postgis-users] compile on solaris 11 sparc

Martin Spott Martin.Spott at mgras.net
Fri Sep 2 00:59:54 PDT 2011


Paul Ramsey wrote:

> My guess is that your gcc is generating a 32-bit object and then
> failing to link it to the 64-bit library.

As an alternative, you might try building 64-bit binaries of everything, at
least this is what I'm doing on Solaris and the result is working properly.
Just set an appropriate environment - I guess these should work for GCC:

CC="gcc -m64"
CXX="g++ -m64"
CPP="gcc -m64 -E"


Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the postgis-users mailing list