[Forgot to CC the list; resending] On Wed, Dec 17, 2008 at 2:05 PM, Andrew Haley <aph@xxxxxxxxxx> wrote: > Scott L. Burson wrote: >> On Wed, Dec 17, 2008 at 11:58 AM, Scott L. Burson <Scott@xxxxxxxx> 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. No, I'll only get a 64-bit stage 1. The build process builds the stage 1 compiler using the host compiler, then rebuilds using the stage 1 compiler -- which in this case will produce a 32-bit result. This is the same reason that just saying CC='gcc -m64' doesn't work. -- Scott