This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 64 bit build environment
- From: Kai Ruottu <karuottu at mbnet dot fi>
- To: "Manickam, Loganathan \(HCL\)" <lmanickam at rsasecurity dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Jun 2007 19:06:32 +0300
- Subject: Re: Solaris 64 bit build environment
- References: <4733CB372F2C644DB581F7232CB2982FD53B96@rsana-ex-hq2.NA.RSA.NET>
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