没有合适的资源?快使用搜索试试~ 我知道了~
使用和移植GNU GCC V3.1
5星 · 超过95%的资源 需积分: 10 16 下载量 24 浏览量
2014-01-16
15:15:17
上传
评论
收藏 2.84MB PDF 举报
温馨提示
试读
626页
使用和移植GNU GCC V3.1,英文原版文档。 弥补中文gcc文档的不足,不详细。 是比较全面的gcc说明文档
资源推荐
资源详情
资源评论
Using and Porting the GNU Compiler Collection
Richard M. Stallman
Last updated 22 June 2001
for GCC 3.1
Copyright
c
1988, 1989, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software
Foundation, Inc.
For GCC Version 3.1
Published by the Free Software Foundation
59 Temple Place—Suite 330
Boston, MA 02111-1307, USA
Last printed April, 1998.
Printed copies are available for $50 each.
ISBN 1-882114-37-X
Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU Free Documentation License, Version 1.1 or any later version published by the
Free Software Foundation; with the Invariant Sections being “GNU General Public License”,
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 Compile C, C ++, Objective-C, Fortran, Java or CHILL . . . . . 3
2 Language Standards Supported by GCC . . . . . . . . . . . . . . . 5
3 GCC Command Options . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Installing GNU CC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
5 Extensions to the C Language Family. . . . . . . . . . . . . . . . 149
6 Extensions to the C++ Language . . . . . . . . . . . . . . . . . . . 199
7 GNU Objective-C runtime features . . . . . . . . . . . . . . . . . 211
8 gcov: a Test Coverage Program . . . . . . . . . . . . . . . . . . . 217
9 Known C auses of Trouble with GCC . . . . . . . . . . . . . . . . 223
10 Reporting Bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
11 How To Get Help with GCC . . . . . . . . . . . . . . . . . . . . . . 251
12 Contributing to GCC Development . . . . . . . . . . . . . . . . . 253
13 Using GCC on VMS . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
14 Additional Makefile and configure information. . . . . . . . . . 261
15 GCC and Portability . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
16 Interfacing to GCC Output . . . . . . . . . . . . . . . . . . . . . . . 267
17 Passes and Files of the Compiler . . . . . . . . . . . . . . . . . . . 269
18 Trees: The intermediate representation used by the C and C++
front ends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
19 RTL Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
20 Machine Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
21 Target Description Macros and Functions . . . . . . . . . . . . . 417
22 The Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . 541
23 Makefile Fragments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Funding Free Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
Linux and the GNU Project . . . . . . . . . . . . . . . . . . . . . . . . . 551
GNU GENERAL P UBLIC LICENSE . . . . . . . . . . . . . . . . . . . 553
GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . 561
Contributors to GCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Option Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
ii Using and Porting the GNU Compiler Collection (GCC)
iii
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 Compile C, C++, Objective-C, Fortran, Java or
CHILL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Language Standards Supported by GCC . . . . 5
3 GCC Command Options . . . . . . . . . . . . . . . . . . . 7
3.1 Option Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Options Controlling the Kind of Output . . . . . . . . . . . . . . . . . 15
3.3 Compiling C++ Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4 Options Controlling C Dialect . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.5 Options Controlling C++ Dialect. . . . . . . . . . . . . . . . . . . . . . . . . 23
3.6 Options Controlling Objective-C Dialect . . . . . . . . . . . . . . . . . 28
3.7 Options to Control Diagnostic Messages Formatting . . . . . . 29
3.8 Options to Request or Suppress Warnings . . . . . . . . . . . . . . . . 30
3.9 Options for Debugging Your Program or GCC . . . . . . . . . . . . 41
3.10 Options That Control Optimization . . . . . . . . . . . . . . . . . . . . 49
3.11 Options Controlling the Preprocessor . . . . . . . . . . . . . . . . . . . 59
3.12 Passing Options to the Assembler . . . . . . . . . . . . . . . . . . . . . . 63
3.13 Options for Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.14 Options for Directory Search . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.15 Specifying subprocesses and the switches to pass to them
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
3.16 Specifying Target Machine and Compiler Version . . . . . . . . 74
3.17 Hardware Models and Configurations . . . . . . . . . . . . . . . . . . . 75
3.17.1 M680x0 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
3.17.2 M68hc1x Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3.17.3 VAX Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3.17.4 SPARC Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3.17.5 Convex Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
3.17.6 AMD29K Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
3.17.7 ARM Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
3.17.8 MN10200 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
3.17.9 MN10300 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
3.17.10 M32R/D Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
3.17.11 M88K Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
3.17.12 IBM RS/6000 and PowerPC Options. . . . . . . . . . 93
3.17.13 IBM RT Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
3.17.14 MIPS Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
3.17.15 Intel 386 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3.17.16 HPPA Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
剩余625页未读,继续阅读
资源评论
- Besinture2014-01-26细读还是很有帮助的
- dickydicky1172016-06-08资料倒是不错我一头雾水
Nico_tgni
- 粉丝: 5
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功