没有合适的资源?快使用搜索试试~ 我知道了~
首页Using the GNU Compiler Collection GCC for ARM
资源详情
资源评论
资源推荐
Using the GNU Compiler Collection
For gcc version 4.7.3
(GNU Tools for ARM Embedded Processors)
Richard M. Stallman and the GCC Developer Community
Published by:
GNU Press Website: www.gnupress.org
a division of the General: press@gnu.org
Free Software Foundation Orders: sales@gnu.org
51 Franklin Street, Fifth Floor Tel 617-542-5942
Boston, MA 02110-1301 USA Fax 617-542-2652
Last printed October 2003 for GCC 3.3.1.
Printed copies are available for $45 each.
Copyright
c
1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU Free Documentation License, Version 1.3 or any later version published by the
Free Software Foundation; with the Invariant Sections being “Funding Free Software”, the
Front-Cover Texts being (a) (see below), and with the Back-Cover Texts being (b) (see
below). A copy of the license is included in the section entitled “GNU Free Documentation
License”.
(a) The FSF’s Front-Cover Text is:
A GNU Manual
(b) The FSF’s Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU software. Copies
published by the Free Software Foundation raise funds for GNU development.
i
Short Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 Programming Languages Supported by GCC . . . . . . . . . . . . . . . 3
2 Language Standards Supported by GCC . . . . . . . . . . . . . . . . . . 5
3 GCC Command Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 C Implementation-defined behavior . . . . . . . . . . . . . . . . . . . . . 299
5 C++ Implementation-defined behavior . . . . . . . . . . . . . . . . . . 307
6 Extensions to the C Language Family . . . . . . . . . . . . . . . . . . . 309
7 Extensions to the C++ Language . . . . . . . . . . . . . . . . . . . . . . 623
8 GNU Objective-C features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
9 Binary Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
10 gcov—a Test Coverage Program . . . . . . . . . . . . . . . . . . . . . . . 655
11 Known Causes of Trouble with GCC . . . . . . . . . . . . . . . . . . . . 663
12 Reporting Bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
13 How To Get Help with GCC . . . . . . . . . . . . . . . . . . . . . . . . . . 681
14 Contributing to GCC Development . . . . . . . . . . . . . . . . . . . . . 683
Funding Free Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
The GNU Project and GNU/Linux. . . . . . . . . . . . . . . . . . . . . . . . . 687
GNU General Public License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . . . . . 701
Contributors to GCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Option Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
Keyword Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
iii
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 Programming Languages Supported by GCC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Language Standards Supported by GCC . . . . . 5
2.1 C language. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 C++ language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Objective-C and Objective-C++ languages . . . . . . . . . . . . . . . . . . . . . 7
2.4 Go language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 References for other languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 GCC Command Options . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Option Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Options Controlling the Kind of Output . . . . . . . . . . . . . . . . . . . . . . . 23
3.3 Compiling C++ Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.4 Options Controlling C Dialect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.5 Options Controlling C++ Dialect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.6 Options Controlling Objective-C and Objective-C++ Dialects . . 45
3.7 Options to Control Diagnostic Messages Formatting . . . . . . . . . . . 48
3.8 Options to Request or Suppress Warnings . . . . . . . . . . . . . . . . . . . . . 49
3.9 Options for Debugging Your Program or GCC . . . . . . . . . . . . . . . . . 72
3.10 Options That Control Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . 92
3.11 Options Controlling the Preprocessor. . . . . . . . . . . . . . . . . . . . . . . . 143
3.12 Passing Options to the Assembler . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
3.13 Options for Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
3.14 Options for Directory Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
3.15 Specifying subprocesses and the switches to pass to them . . . . 160
3.16 Specifying Target Machine and Compiler Version . . . . . . . . . . . . 167
3.17 Hardware Models and Configurations . . . . . . . . . . . . . . . . . . . . . . . 167
3.17.1 Adapteva Epiphany Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
3.17.2 ARM Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
3.17.3 AVR Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
3.17.3.1 EIND and Devices with more than 128 Ki Bytes of Flash
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
3.17.3.2 Handling of the RAMPD, RAMPX, RAMPY and RAMPZ Special
Function Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
3.17.3.3 AVR Built-in Macros. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
3.17.4 Blackfin Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
3.17.5 C6X Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
3.17.6 CRIS Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
3.17.7 CR16 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
剩余769页未读,继续阅读
书香度年华
- 粉丝: 1w+
- 资源: 383
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- stc12c5a60s2 例程
- Android通过全局变量传递数据
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0