[An Introduction to GCC 学习笔记] 02 GCC的特点

GCC特点

  • GCC is a portable compiler - it runs on most platforms available today, and can produce output for many types of processors. In addition to the processors used in personal computers, it also supports microcontrollers, DSPs and 64 bit CPUs
  • GCC is not only a native compiler - it can also cross-compile any program, producing executable files for a different system from the one used by GCC itself. This allows software to be compiled for embedded systems which are not capable of running a compiler. GCC is written in C with a strong focus on portability, and can compile itself, so it can be adapted to new system easily.
  • Most importantly, GCC is free software, distributed under the GNU General Public License(GNU GPL). This means you have the freedom to use and to modify GCC, as with all GNU software. If you need support for a new fype of CPU, a new language, or a new feature you can add it yourself, or hire someone to enhance GCC for you. You can hire someone to fix a bug if it is important for your work.
  • Furthermore, you have the freedom to share any enhancements you make to GCC. As a result of this freedom you can also make use of enhancements to GCC developmented by others. The many features offered by GCC today show how this freedom to cooperate works to benefit you, and everyone else who uses GCC.

C/C++特点

  • C and C++ are languages that allow direct access to the computer’s
    memory. Historyically, they have been used for writing low-level
    systems software and applications where high-performance or control
    over resource usage are critical.

  • However, great care is required to ensure that memory is accessed
    correctly, to avoid corrupting other data-structures. We will give
    you some techniques and tips that will help in detecting potential
    errors during compilation, but the rist in using language like C
    or C++ can never be eliminated.

  • C programming is a craft that takes years to perfect. A reasonably
    sharp person can learn the basics of C quite quickly. But it takes
    much longer to master the nuances of the language and to write enough
    programs, and enough.

  • 如果你热爱编程,那就热爱C吧;

  • 如果你热爱C,那就热爱指针吧;

  • 如果你热爱指针,那么请你热爱指针的指针。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值