This is the mail archive of the gcc-patches@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: Start moving toplev options to opts.c


On Fri, 13 Jun 2003, Neil Booth wrote:

> 	* configure, configure.in: Add lang_opt_files.

The front end build interface is documented.  You must document the
lang.opt files in sourcebuild.texi.

> 	* opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.

Objection: do not hardcode references to particular languages in common
code; generate a file with the necessary defines for the languages that
are present in the tree.  Apart from the places to change for a new front
end being documented and this patch not adjusting that documentation,
you'll observe that none of the present places to change actually need to
be changed for a front end to build and work; the only code change listed,
default_compilers, is simply for more meaningful errors if that front end
*isn't* built for a particular install.

-- 
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]