Problem with Solaris 10 / SPARC

Jonathan Wakely
Mon Jul 1 22:35:00 GMT 2013

On 1 July 2013 22:33, Amos wrote:
> On Sun, Jun 30, 2013 at 8:26 AM, Jonathan Wakely <> wrote:
>> Did you try building those libraries as part of the GCC build, as
>> described at ? That should
>> automatically build them correctly and give you a working compiler
>> (probably 32-bit, but capable of building 64-bit objects too.)
> No joy with that route either:
> I was able to compile gcc-4.0.2 fully 64-bit, but not only did I have
> to set the various environment settings to include "-m64", but I also
> had to fiddle with the specs file to force the default of "-m64" for
> the multilib stuff to get the xgcc stage to finish compiling without
> blowing-up.
> Now I'm wondering if I need to somehow suggest the specs during the
> gcc build process to default to 64bit.

You shouldn't need to do any of that or set any env variables.

More information about the Gcc-help mailing list