This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Solaris 64 bit build environment


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]