This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]