GCC Front Ends

Currently the main GCC distribution contains front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, Rust, COBOL, and Algol 68.

There are several more front ends for different languages that have been written for GCC but not yet integrated into the main distribution of the GNU Compiler Collection. Some of these may be integrated in future; others may not, for various reasons.

Example front ends for toy languages and guidance on writing front ends are listed along with other links and readings. The source files tree.h and tree.def are the key ones to be familiar with.

Some of these front ends are very much works in progress; others are very mature.

For questions related to the use of GCC, please consult these web pages and the GCC manuals. If that fails, the gcc-help@gcc.gnu.org mailing list might help. Comments on these web pages and the development of GCC are welcome on our developer list at gcc@gcc.gnu.org. All of our lists have public archives.

Copyright (C) Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

These pages are maintained by the GCC team. Last modified 2026年01月15日.

AltStyle によって変換されたページ (->オリジナル) /