Solaris 64 bit build environment

Kai Ruottu karuottu@mbnet.fi
Tue Jun 26 17:43:00 GMT 2007


Manickam, Loganathan (HCL) wrote:
> I want to build an application for both 32 and 64 bit Solaris SPARC environment. Can I build both 32 and 64 bit application using 32 bit Solaris SPARC environment?
>   
At least GCC is bi-arch as default but unfortunately the GCC builder may 
use '--disable-multilib' when configuring and building :-(
So a GCC made for 'sparc-solaris2.[789]' or for 'sparc-solaris2.10' may 
not include the 64-bit support libraries...  The reason
possibly being that those 64-bit '*lib/sparcv9'  weren't installed  onto 
the  32-bit SPARC system  when the GCC was built.  People
use to ask here how they could produce a 32-bit-only GCC for 
'sparc-solaris2.x' so some really don't care about those 64-bit
apps...

So if those optional 64-bit SUNW libraries are installed and the GCC 
produced with its defaults, then there shouldn't be any
problems in producing 64-bit 'sparcv9' apps on a 32-bit system



More information about the Gcc-help mailing list