This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Beginner GCC projects question
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 May 2004 10:21:01 -0700
- Subject: Re: Beginner GCC projects question
- References: <1084760724.3437.14.camel@penguin> <40A8854D.90803@gnu.org>
Paolo Bonzini <bonzini@gnu.org> writes:
> Remember the "Mega bonus points for working out a way to do automatic
> dependency generation without relying on features of GCC or GNU
> make. And we don't want a make dep pass if it can possibly be
> avoided." This is feasible, especially since GNU make *is* now
> allowed. You need good make skills, but not guru-level -- just take a
> look at how Automake does it. I cannot approve any patch, but if you
> pick this one I'm willing to help.
Note that this project is substantially harder than it looks due to
the large body of auto-generated code. I have come to the conclusion
that a 'make dep'-style prescan is unavoidable, and I have a fairly
detailed plan for implementing it, but I lack time. If anyone wants
to help, the first stage is to get cpplib out of the gcc subdirectory
so it can be built twice when build!=host.
(No, you won't have to type "make dep".)
zw