bug-gmp
[Top][All Lists]
Advanced

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

Re: [patch 4.1.3] Correctly handle zero operands with gcc on PA


From: Kevin Ryde
Subject: Re: [patch 4.1.3] Correctly handle zero operands with gcc on PA
Date: Fri, 28 May 2004 08:48:05 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

[You've still got too much in one message.  If the response is poor,
then alas that's why.]

"John David Anglin" <address@hidden> writes:
>
> The narrow kernels don't support the 64-bit runtime.

I don't think I was aware there was a 32-bit kernel mode.  That
happens on sparcv9 solaris too, where a native build will fall-back
automatically to the 32-bit ABI.  If that doesn't already happen on
hpux then I'd like to make it so.

> For this reason, config.guess does an additional
> check on CC to determine the properties of CC.

We don't drive the ABI from the compiler, but rather the other way
around.  We establish default CFLAGS for the requested (or best
possible) ABI.

I'm aware this ABI scheme is specific to gmp, but very few other gnu
packages care about the level of detail we do.

> The main issue is that the straight-forward configure command doesn't
> work.  Configure has selected the "2.0w" ABI when gcc is generating
> code for the 32-bit runtime.

My understanding is that gcc is built either 32-bit or 64-bit, so you
need to use the right one.

In the next gmp we'll be checking sizeof(long) to see what sort of gcc
we've got, to let the default ABI fallback to what works.  (gmp 4.1
pre-dated any gcc support for 2.0, hence the lack of any mention of it
in the configure.)

-- 
All followups to address@hidden please.




reply via email to

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