[An Introduction to GCC 学习笔记] 01 介绍GCC发展历史

Posted 漫小牛

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[An Introduction to GCC 学习笔记] 01 介绍GCC发展历史相关的知识,希望对你有一定的参考价值。

前言

  • gcc是一个在开源软件世界里的顶级的编译器。
  • 几乎所有的编译器,都是美国的舶来品。
  • 任何一个公司要成功,一定要在开源的道路上走下去。

Objectives

After completing the lesson, you should be able to do the following:

  • Learn the history and features of GCC.
  • Learn the basic skills of using GCC. Learn the basic optimization of GCC.
  • Learn the principle of how the compiler works.
  • Using GCC by yourself after finish this training.
    参考书:
    《Expert C Programming 》
    《An Introduction to GCC》

A Brief History of GCC

  • The original author of the GNU C Compiler(GCC) is Richard Stallman, the founder of the GNU Project.
  • The GNU project was started in 1984 to create a complete Unix-like operating system as free software, in order to promote freedom and cooperation among computer users and programmers.
  • Every Unix-like operating system needs a C ompiler, and as there were no free compilers in existence at that time, the GNU Project had to develop one from scratch.
  • The work was founded by donations from individuals and companies to the Free Software Foundation, a non-profit orgnization set up to support the work of the GNU Project.
  • The first release of GCC was made in 1987. This was a significant breakthrough, being the first portable ANSI C optimizing compiler released as free software.
  • Over time GCC has been extended to support many additional languages, including Fortran, ADA, Java and Objective-C. The acronym GCC is now used to the “GNU Compiler Collection”. Its development is guided by the GCC Steering Committee, a group composed of representatives from GCC user communities in industry research and academia.
  • The web site: http://gcc.gnu.org/

以上是关于[An Introduction to GCC 学习笔记] 01 介绍GCC发展历史的主要内容,如果未能解决你的问题,请参考以下文章

[An Introduction to GCC 学习笔记] 09 -Wall

[An Introduction to GCC 学习笔记] 14 优化问题3

[An Introduction to GCC 学习笔记] 14 优化问题3

[An Introduction to GCC 学习笔记] 13 优化问题2

[An Introduction to GCC 学习笔记] 10 Warn预编译

[An Introduction to GCC 学习笔记] 07 链接外部静态库