Building 64 bit compiler on Solaris AMD64

Andrew Haley aph@redhat.com
Thu Dec 18 12:06:00 GMT 2008


Scott L. Burson wrote:
> On Wed, Dec 17, 2008 at 3:15 PM, Andrew Haley <aph@redhat.com> wrote:
>> Scott L. Burson wrote:
>>> On Wed, Dec 17, 2008 at 2:30 PM, Andrew Haley <aph@redhat.com> wrote:
>>>> Scott L. Burson wrote:
>>>>> No, I'll only get a 64-bit stage 1.
>>>> Which is all you need.
>>>>
>>>> --disable-bootstrap and there is no stage 2.
>>> Oh!  Didn't know about that.
>>>
>>> But what about the next problem I ran into -- that the compiler built
>>> in this way works only when -m64 is specified, because the libraries
>>> are all 64-bit?
>> It all depends on how the multilibs are configured.
> 
> No, I don't mean that the build process only attempts to build 64-bit
> libraries; I mean that even the libraries that the build process
> intends to build as 32-bit get built as 64-bit also.

I don't see how you managed that.  Unless your target defaults to 64-bit,
this is impossible.

Andrew.



More information about the Gcc-help mailing list