bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: solaris compile prob


From: Kevin Ryde
Subject: Re: solaris compile prob
Date: 15 Dec 2001 09:29:50 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

Michael Helm <address@hidden> writes:
>
> Kevin Ryde writes:
> > I take it you set CFLAGS="-xtarget=ultra -xO5" yourself.  Does that
> > mean 32-bit mode?  If so you'll need to tell gmp with ABI=32.
> 
> Yes, thanks -- how should I do that?

        ./configure ABI=32 CC=cc CFLAGS="-xtarget=ultra -xO5"

CC=cc will be the default if that's the only compiler you've got, but
it never hurts to say exactly what you want.

Does -xtarget=ultra do something better than -xtarget=native?  If so
we could make put it into the default cflags for cc on ultrasparc-*-*.

> I wound up having too many conflicts with other things that just
> couldn't handle the 64 bit libs (and required too much R&D time on my
> part to fix in order to be able to compile as 64-bit objects).

Does cc support a "long long" in the 32-bit ABI, using 64-bit
registers for it (in function calls etc)?

Maybe we could think about having an ABI=32L or some such which would
be a 64-bit limb within the 32-bit ABI, as currently done for
powerpc64.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]