This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Merge from pch branch; call for testers
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: <Tim_Josling at national dot com dot au>
- Cc: <gcc at gcc dot gnu dot org>, <geoffk at geoffk dot org>
- Date: Wed, 5 Jun 2002 08:16:46 +0100 (BST)
- Subject: Re: Merge from pch branch; call for testers
On Wed, 5 Jun 2002 Tim_Josling@national.com.au wrote:
> It appears I will need to patch gengtype.c to add treelang to the hard
> coded list of languages (lang_names) included therein. Is there any
> alternative to this? Normally the determination of languages is by a
> discovery process rather than hard coding in sundry files.
There is a specific place for documentation of the front end build
interface and what needs to be done to add a new front end - in
sourcebuild.texi. All the changes to this need to be documented there -
with cross-references to gty.texi if that's where the main documentation
of some aspects is to be.
In particular, the hardcoded language references (if they must stay - in
general the principle has been that it should be possible to drop language
directories into GCC - try to do something similar to lang-specs.h and
lang-options.h instead, and of course document that in "Front End
Directory") should be included in the list in "Anatomy of a Language Front
End" and the new gtfiles interface in config-lang.in needs to be
documented along with the rest of the config-lang.in interfaces in "Front
End Config".
--
Joseph S. Myers
jsm28@cam.ac.uk