Building 64 bit compiler on Solaris AMD64

Andrew Haley aph@redhat.com
Wed Dec 17 22:57:00 GMT 2008


Scott L. Burson wrote:
> On Wed, Dec 17, 2008 at 11:58 AM, Scott L. Burson <Scott@ergy.com> wrote:
>> I have figured out how to build a 64-bit GCC 4.3.2 on Solaris AMD64.
>> I wanted to build a 64 bit compiler (I mean, one where the compiler
>> executables are 64 bit) for performance.

I would simply make sure that the cc in my path defaulted to generating
64-bit binaries, by wrapping it in a script if needs be.  If you make
sure that the only cc available always generates 64-bit binaries and
--disable-bootstrap, you'll have a 64-bit gcc.  Easy peasy.

Andrew.



More information about the Gcc-help mailing list