This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Beginner GCC projects question
"Mark G. Adams" <mark.g.adams@sympatico.ca> writes:
> A couple of clarification questions:
>
> 1) The description states that headers shouldn't explicitly include
> config.h, system.h, or ansidecl.h. Now from my initial look, most
> headers need coretypes.h, in particular for the GTY() define. Should an
> explicit dependency be added on coretypes.h as needed, or does that
> header fall in the first category since it'll be so ubiquitous?
coretypes.h is in the first category, yes. Most .c files are expected to
include config.h, system.h, and coretypes.h in that order. If tm.h is
needed it must be included next, but a goal is to get tm.h out of
source files where it isn't needed. Header files should not include
tm.h.
> 2) Is the 'gcc' subdirectory the main target for this project?
Yes.
> How about its subdirectories? Any others?
Everything in the subdirectories ada, config, cp, fortran, java, and
objc should be considered part of this project. The other directories
it is wisest to stay out of.
> 3) Is there somebody in particular (a maintainer?) with whom I should be
> discussing include/Makefile.in changes in the gcc subdir and cc'ing
> patches? It's a bit unclear the maintainership breakdown in this
> directory due to the amount of stuff in here.
Build system maintainers are Nathanael Nerode, Alexandre Oliva, DJ
Delorie. Several other people, including myself, Kaveh Ghazi, and
Joseph Myers, can also provide advice.
zw