编译器四:GCC&G++简介
来源:互联网 发布:mac大型单机游戏下载 编辑:程序博客网 时间:2024/05/21 19:37
Using the GNU Compiler Collection (GCC)
Next: Standards, Previous: Top, Up: Top
1 Programming Languages Supported by GCC
GCC stands for “GNU Compiler Collection”. GCC is an integrated distribution of compilers for several major programming languages. These languages currently include C, C++, Objective-C, Objective-C++, Java, Fortran, Ada, and Go.
The abbreviation GCC has multiple meanings in common use. The current official meaning is “GNU Compiler Collection”, which refers generically to the complete suite of tools. The name historically stood for “GNU C Compiler”, and this usage is still common when the emphasis is on compiling C programs. Finally, the name is also used when speaking of the language-independent component of GCC: code shared among the compilers for all supported languages.
The language-independent component of GCC includes the majority of the optimizers, as well as the “back ends” that generate machine code for various processors.
The part of a compiler that is specific to a particular language is called the “front end”. In addition to the front ends that are integrated components of GCC, there are several other front ends that are maintained separately. These support languages such as Pascal, Mercury, and COBOL. To use these, they must be built together with GCC proper.
Most of the compilers for languages other than C have their own names. The C++ compiler is G++, the Ada compiler is GNAT, and so on. When we talk about compiling one of those languages, we might refer to that compiler by its own name, or as GCC. Either is correct.
Historically, compilers for many languages, including C++ and Fortran, have been implemented as “preprocessors” which emit another high level language such as C. None of the compilers included in GCC are implemented this way; they all generate machine code directly. This sort of preprocessor should not be confused with the C preprocessor, which is an integral feature of the C, C++, Objective-C and Objective-C++ languages.
- 编译器四:GCC&G++简介
- gcc/g++ 编译器使用简介
- gcc/g++ 编译器使用简介
- gcc/g++ 编译器使用简介
- gcc/g++ 编译器使用简介
- gcc & g++ 编译器命令简介
- gcc/g++ 编译器使用简介
- gcc/g++ 编译器使用简介(转)
- gcc/g++ 编译器使用简介(包含交叉编译器)
- gcc/g++ 编译器使用简介(包含交叉编译器)
- [编译器] GCC编译器简介
- gcc/g++ 编译器使用简介&makefile 书写规则
- Linux下C/C++编译器GCC/G++使用简介
- Linux下C/C++编译器GCC/G++使用简介
- gcc and g++ 编译器
- GCC/G++ 编译器入门
- 升级gcc g++编译器
- 编译器 g++与gcc
- ScrollView 滑动Headlayout的动态变化
- 【网络流+可持久化线段树】[UOJ#77/BZOJ3218]A+B Problem
- 九度OJ:题目1008 最短路径问题
- 9280开发板设置一个开机启动程序后,串口中断无法输入的解决方法
- 基于java在服务端解决手机上传竖拍照片旋转90度问题
- 编译器四:GCC&G++简介
- PAT (Basic Level)1046. 划拳
- Android中ColorMatrix的学习
- Andriod 反编译 重新打包 技巧感想记录
- C++头文件的重定义问题以及头文件互相包含问题
- ViewHolder
- sql语句批量插入测试数据
- jQuery选择器的那些事儿
- 蓝牙基础知识进阶——物理链路和逻辑传输