Movatterモバイル変換


[0]ホーム

URL:


Next:, Up:Anatomy of a Language Front End   [Contents][Index]


5.3.8.1 The Front Endlanguage Directory

A front endlanguage directory contains the source filesof that front end (but not of any runtime libraries, which should beoutside thegcc directory). This includes documentation, andpossibly some subsidiary programs built alongside the front end.Certain files are special and other parts of the compiler depend ontheir names:

config-lang.in

This file is required in all language subdirectories. SeeThe Front Endconfig-lang.in File, for details ofits contents

Make-lang.in

This file is required in all language subdirectories. SeeThe Front EndMake-lang.in File, for details of itscontents.

lang.opt

This file registers the set of switches that the front end accepts onthe command line, and their--help text. SeeOption specification files.

lang-specs.h

This file provides entries fordefault_compilers ingcc.cc which override the default of giving an error that acompiler for that language is not installed.

language-tree.def

This file, which need not exist, defines any language-specific treecodes.


[8]ページ先頭

©2009-2026 Movatter.jp