This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: autoconf for type sizes
- To: meissner at cygnus dot com
- Subject: Re: autoconf for type sizes
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 12 Mar 2001 16:15:23 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org, lars dot spam at nocrew dot org, zackw at Stanford dot EDU
> From: Michael Meissner <meissner@cygnus.com>
>
> On Mon, Mar 12, 2001 at 03:38:17PM -0500, Kaveh R. Ghazi wrote:
> > Zack, looks good. Some comments:
> >
> > 1. (Optional) is the gcc_AC_C_CHAR_BIT test necessary? Why not just
> > default to 8 if it doesn't appear in limits.h? I notice that
> > gcc/glimits.h unconditionally sets it to 8 anyway, so its unlikely
> > that we'll encounter a *host* which sets it to a different value.
>
> I dunno, I guess it depends on that PDP-10 port. If its hosted
> rather than just a cross compiler, we will see it.
For a default of 8 to be wrong, the PDP-10 port not only must be
hosted, but it must also fail to supply a conforming limits.h with the
correct CHAR_BIT. Right?
(And whoever is porting it must also fix gcc/glimits.h.)
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions