This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: autoconf for type sizes


On Tue, Mar 13, 2001 at 04:58:20PM +0000, Joseph S. Myers wrote:
> On Tue, 13 Mar 2001, Zack Weinberg wrote:
> 
> > We could write a probe utility similar to enquire.c and use it to
> > generate a bunch of limits-*.h variants which we'd then select in the
> > same way.
> 
> This seems fairly similar to my proposal except in the details of when the
> probe utility is run.  Such a probe utility should be more reliable than
> enquire, and work fine when cross-compiling.

*shrug* I think it would involve less Makefile contortions if we
don't generate it on the fly, particularly since we already have
machinery to do float.h that way.

> > options is "use the system float.h".  (An option we should have for
> > limits.h, by the way, and I don't mean the current incestuous
> > recursive crock.)
> 
> Only, of course, if we fix (if necessary) the system limits.h to conform
> to the standard specified with -std (our responsibility as a conforming
> freestanding implementation).

Note we don't do this now.

Larger policy question: should we add -std= switches for the bigger
standards that incorporate ISO C?  (POSIX.n, SVIDn, XPG, etc - look at
glibc's <features.h>) I'd vote yes but only after we get a new driver.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]