This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Moving C to its own directory
- From: Geert Bosch <bosch at gnat dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 2 Jun 2003 18:10:28 -0400
- Subject: Re: RFC: Moving C to its own directory
On Monday, Jun 2, 2003, at 16:57 America/New_York, Benjamin Kosnik
wrote:
Remember at the gcc summit where you were asking about interfaces
between
the front ends and the back ends? (ie, what interface?). I see this
attempt at a coherent organization of the gcc sources as a first step
at
attempting formal interfaces.
Yes, I'm all in favor of a well-defined front end/back end interface.
I just don't see what an extra fe/ directory does to help.
For example, the entire Ada front end lives in the ada/ directory.
There are no dependencies on any other front end and there is no
common front-end code to share. I think this is true for most front
ends.
It would seem to make more sense to move the tree passes and
rtl passes into separate subdirectories tree/ and rtl/ directories
and leave the gcc/gcc directory for descriptions of the interfaces
(rtl.h, tree.h, ...) and some glue code to call everything (toplev.c).
However if there are plans for what should live in the fe/ directory,
I'd like to hear them.
-Geert