[Bug target/38182] stddef.h assumes machinee/ansi.h defines _ANSI_H_
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 23 20:54:00 GMT 2009
------- Comment #7 from joseph at codesourcery dot com 2009-03-23 20:53 -------
Subject: Re: stddef.h assumes machinee/ansi.h defines
_ANSI_H_
On Mon, 23 Mar 2009, prlw1 at cam dot ac dot uk wrote:
> ------- Comment #6 from prlw1 at cam dot ac dot uk 2009-03-23 20:45 -------
> (In reply to comment #5)
> > The patch is obviously wrong (it changes the installed headers for all
> > targets instead of setting USER_H to adjust the list for the target with
> > this issue)
>
> Care to explain more re USER_H? I tried to addIndex: stddef.h
USER_H is GCC's mechanism to disable installing some of the headers, such
as stddef.h, that it installs by default. You're meant to set it in a
target makefile fragment t-* instead of changing the global default
definition in gcc/Makefile.in. Thus, if NetBSD should have all the
GCC-provided headers except for stddef.h, copy the default from
gcc/Makefile.in to gcc/config/t-netbsd and remove stddef.h there (with a
comment to say that it's stddef.h that's being removed).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38182
More information about the Gcc-bugs
mailing list