egcs needs a system.h?
Jeffrey A Law
law@cygnus.com
Tue Feb 3 23:22:00 GMT 1998
In message < 199802031901.OAA05382@caip.rutgers.edu >you write:
> Jeff,
>
> Would it be useful to create a system.h file for egcs/gcc which
> includes the standard system headers and checks various other autoconf
> macros like the NEED_DECLARATION_* stuff, then have all C files include
> "system.h" instead of doing all that work individually?
>
> (Or does such a file already exist and I'm missing it?
> The gansidecl.h file seems close but not quite. There's some autoconf
> cruft at the bottom, but I think this file should really only check
> __STDC__ and nothing autoconf'ish.)
Well, there's config.h and hconfig.h, which would probably be the
natural places, except that they're auto-generated.
It's probably a good idea.
jef
More information about the Gcc
mailing list