PATCH: Auto detect HOST_64BIT_TYPE and HOST_U_64BIT_TYPE

Ian Lance Taylor ian@wasabisystems.com
Thu Sep 18 17:27:00 GMT 2003


"H. J. Lu" <hjl@lucon.org> writes:

> 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.

Yes, I know.  I agree that not setting host64 will change cross-tools
built on some systems.  But what difference does it really make?

Ian



More information about the Binutils mailing list