This is the mail archive of the
mailing list for the GCC project.
- To: "David O'Brien" <obrien at FreeBSD dot org>
- Subject: Re: INSTALL_ASSERT_H
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Wed, 2 May 2001 14:46:57 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20010502103557.A93590@dragon.nuxi.com>
On Wed, May 02, 2001 at 10:35:57AM -0700, David O'Brien wrote:
> When would one want to use "INSTALL_ASSERT_H ="?
> from t-linux:
> # Don't install "assert.h" in gcc. We use the one in glibc.
> INSTALL_ASSERT_H =
> I.e. how does one determine if the base assert.h is OK to use and GCC's
> isn't needed?
If your C library provides an assert.h which is compliant with C89,
you should most definitely put "INSTALL_ASSERT_H =" in your
t-fragment. I'd like to automate detection of this but I doubt I can
get it into 3.0.