This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.2.3 on Solaris 2.7
> My bigger question is this:
> 1. I want a compiler that can build me 32 & 64 bit executables
> on single box.
> 2. My base level support is Solaris 2.6
> Can I even do this?
I think you need 2 compilers in any cases, unless you want to hack GCC
itself.
> 1. Do I need a version hosted on 2.6 for all 32 bits
> 2. A version hosted on a 64bit 2.7 (though it is 32 bit)
> for all 64 bit output?
>
> I need to support 32 bits 2.6->2.9, 64 bits 2.7->2.9
Then build a native 32-bit compiler on the Solaris 2.6 machine and a native
32/64-bit compiler on the Solaris 7 machine. This would greatly simplify
everything.
> BTW, I plan to use /usr/ccs/bin/as and /usr/ccs/bin/ld for all my needs.
Fine, that's what I use every day. Be sure to check the Solaris-specific GCC
release notes though.
--
Eric Botcazou