This is the mail archive of the gcc@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: INSTALL_ASSERT_H


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.

zw


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