Cross-compilers.

Ralf Corsepius rc040203 at freenet.de
Mon Sep 18 14:07:10 UTC 2006


On Mon, 2006-09-18 at 14:58 +0100, David Howells wrote:
> David Woodhouse <dwmw2 at infradead.org> wrote:
> 
> > For example, why do runtime checks for word-size when you can just use
> > explicitly sized C99 types if you actually care?

In autoconf >= 2.49 (released several years ago), size-type checks are
compile-time checks, not run-time checks.

> But you might have to build with a compiler that doesn't support them.
Exactly ... but there generally is nothing wrong with using size-type
checks _inside_ of a package. 

The real problem is people exporting the results to external header
files ("exporting autoheaders"). Autoconf already does a hard job at
preventing people from this, nevertheless people still do it.

Ralf








More information about the fedora-devel-list mailing list