This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Auto detect HOST_64BIT_TYPE and HOST_U_64BIT_TYPE
On Thu, Sep 18, 2003 at 10:19:07AM -0700, Ian Lance Taylor wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
>
> > There is no need to hard code HOST_64BIT_TYPE nor HOST_U_64BIT_TYPE. We
> > can auto detect them. Here is the patch.
>
> I think we might as well eliminate host64 at the same time. It
> doesn't add much, and will simplify configure.host even more. We can
> set host64 if sizeof(long) == 8, if that seems helpful.
>
On some systems, long is 4 bytes and long long is 8 bytes. But long
long is as fast as long.
H.J.