在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Wind River Diab Compiler for PowerPC

Wind River Diab Compiler for PowerPC

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:7.09M
  • 下载次数:7
  • 浏览次数:331
  • 发布时间:2021-01-14
  • 实例类别:一般编程问题
  • 发 布 人:好学IT男
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
This manual describes the tools in the Wind River Diab Compiler toolkit . It includes detailed information about each tool, optimization hints, and guidelines for porting existing code to the compilers and assembler. For introductory information, including an example program, see the Getting Started
Contents PART INTRODUCTION 1 Overview 1.1 Introduction 1.2Oⅴ erview of the tools…... 1.3 Documentation 2 Configuration and Directory Structure……… 333699 2.1 Introduction…19 2.2 Components and directories... 23 Accessing Current and other Versions of the Tool……………13 2.4 Environment variables 14 Drivers and Subprogram Flow…,…………,,…,……,…"…,……,17 3.1 Introduction m........mm.. 17 3.2 Program Flow and Components 17 4 Selecting a Target and Its Components 4.1 Selecting a Target 42 Selected Startup Module and Libraries……23 4.3 Alternatives for Selecting a Target Configuration . Wind River Diab Compiler for PowerPC ser's Guide, 5.9 PART I: WIND RIVER DIAB COMPILER 5 Invoking the compiler 5.1 The Command Line .. 5.2 Rules for Writing Command-Line Options..... 53 Examples of Processing Source Files…… 30 6 Additions to ansi c and ct+ 33 6.1 Preprocessor Predefined Macros 33 6.2 Preprocessor Directives 35 6.3 Pragmas 6.4 Keywords ............... 48 65 Attribute Specifiers…… 6.6 Intrinsic functions 6.7 Other additions……58 7 Embedding Assembly Code.……...,,…,…,…,……63 7.1 Introduction .. 7. 2 asm macros 73 asm String Statements…… 0 7.4 Reordering in asm Code 7.5 Avoiding asm Statements with Intrinsic assembly 72 8 Internal Data Representation... 8.1 Introduction… 73 82 Basic Data Types………………3 8.3 Byte Ordering…..….……,,75 84 Arrays…,.,,, 75 8.5 Bit-fields 75 8.6 Classes, Structures, and unions 87C++ Classes………..,1 Contents 8.8 Linkage and Storage Allocation . 9 Calling Conventions… 自m自日面 83 91 Introduction∴ 83 9.2 Stack Layout 9.3 Argument Passing 86 9.4 C++ Argument Passing 95 Returning Results…… 90 9.6 Register Use 90 10 Optimization……,……:::93 10.1 Introduction 93 10.2 Optimization Hints..... 10.3 Whole- Program Optimization……9 10.4 Target-Independent optimizations 100 10.5 Target-Dependent Optimizations 111 10.6 Example of optimizations 。看。B普非 114 107 Suggested Optimizations………… 117 11 The Lint Facility…......……119 11.1 Introduction…… 119 112 Examples….…120 12 Converting Existing Code.…,.,,,,…………123 12.1 Introduction 123 12.2 Compilation Issues...... 123 12.3 Execution Issues 125 12.4 GNU Command-Line options 126 13c++ Features and Compatibility…… 127 13.1 Introduction,….....................................127 Wind River Diab Compiler for PowerPC ser's Guide, 5.9 13.2 Header files…127 13.3 C++ Standard libraries n128 13.4 Migration From C to C++ 129 135 Implementation-Specific C++ Features………130 136C++ Name Mangling…...… 133 137 Avoid setjmp and longjmp……134 13.8Pr iled headers 134 14 Locating Code and Data, Addressing, Access……………137 14.1 Controlling Access to Code and Data 137 142 Addressing Mode- Functions, variables, Strings………143 14.3 Access mode-Read, write, Execute 144 Local data area(- Local-data-area)…… …150 14.5 Small data and small Const areas . mmmmmmmmmmmmmmmmmm, 151 14.6 Position-Independent Code and Data(PIC and PID)......152 15 Use in an embedded environment,……155 151 Introduction……… 155 15.2 Compiler Options for Embedded Development...... 156 15.3 User Modifications 157 15.4 Startup and Termination Code 157 15.5 Hardware Exception Handling ........ 163 15.6 Library Exception Handling .163 15.7 Linker command file………164 15.8 Operating System Calls . 165 15.9 Communicating with the Hardware 168 15.10 Reentrant and Thread-Safe" Library Functions.................169 15.11 Target Program Arguments, Environment Variables, and Predefined Files..170 15.12 Profiling in an Embedded Environment 172 Contents 1513 Support for Multiple Object Formats…………173 PART III: WIND RIVER ASSEMBLER 16 The Wind river assembler 177 16.1 Introduction 177 162 Selecting the target…… ·······中春命七·命·命中4命命 177 16.3 The das Command 178 17 Syntax Rules 179 17.1 Format of an Assembly Language Line 179 172 Symbols…181 7.3 Direct Assignment Statements…… 174 External Symbols……… 182 17.5 Local Symbols 183 17.6 Constants 1。鲁 184 18 Sections and location Counters 18.1 Program Sections.. 4444444187 18.2 Location counters…… 188 19 Assembler Expressions.…,.………191 19.1 Introduction…….1191 19.2 Evaluation of Terms and Expressions.......... 191 193 Unary Operators………………………192 194 Binary Operators…… 194 20 Assembler directives………197 20.1 Introduction 197 20.2 List of directives 21 Assembler macros 21.1 Introduction 217 Wind River Diab Compiler for PowerPC ser's Guide, 5.9 21.2 Macro Definition 217 21.3 Invoking a macro 220 21.4 Macros to"Define" Structures ……220 22 Example Assembler Listing…… 223 PART V: WIND RIVER LINKER 23 The Wind river linker 227 23. 1 Introduction . 23.2 The linking process 28 233 Symbols created By the Linker…...…231 23.4.abs sections 233 23.5 COMMON Sections…… 233 23. 6 COMDAT Sections 234 23.7 Sorted Sections……………… 235 23.8 Warning Sections . 235 23.9. frame info sections 236 23.10 Branch islands 236 24 The dld command 239 24.1 The dld Command .. 24.2 Defaults,…..241 24.3 Order on the Command Line 241 25 Linker Command Language 243 25.1 Introduction 243 25.2 Example " bubbledId".......... 244 25.3 Syntax Notation 245 25.4 Pattern Matching in Linker Command Files.... 246 25.5 Numbers e专音 Contents 256 Symbols…....,246 257 Expressions…,… 247 25.8 Command File Structure 248 25.9 MEMORY Command 248 25.10 SECTIONS Command mmmmmmm...... 249 2511 Cache Optimization(CACHE and PROFILE Commands)……………261 2512 Assignment Commands……… 263 2513 Examples…264 PART V, WIND RIVER DIAB COMPILER UTILITIES 26 Utilities .275 26.1 Introduction∴ 275 262 Common command- Line Options…… 275 27 D-AR Archiver 277 271 Synopsis……..1277 27.2 Syntax 27. 3 Description .277 274 Examples…...280 28 D-BCNT Profiling Basic Block Counter. 281 Synopsis………...281 282 Syntax…… 281 28.3 Description 282 28 4 Files 282 28.5 Examples…… 283 28.6 Coverage……...............283 28.7 Notes …284 Wind River Diab Compiler for PowerPC ser's Guide, 5.9 29D- DUMP File dumper………,……………285 291 Synopsis…...........…285 29.2 Syntax 285 29.3 Description…, 285 29. 4 Examples... 290 30 dmake Makefile Utility 293 30.1 Introduction 293 30.2 Installation .. 30.3 Using dmake……… 293 31 WindIss simulator and disassembler 295 31.1 Introduction,…… 295 31.2 Synopsis 295 31.3 Simulator mode 296 31.4 Batch Disassembler mode .. 31.5 Interactive Disassembler mode .. 316 Examples…...... 。;4c。。。由非。。自音·。。,。。4。。看。B。。。自 303 PART VI: C LIBRARY 32 Library Structure, Rebuilding 307 32.1 Introduction 一曲曲中一 307 32.2 Library Structure ...........307 323 Library Sources, Rebuilding the libraries……… 315 33 Header Files 317 33.1 Introduction 317 33.2 Files………1317 33 Defined variables, Types, and Constants………………319 【实例截图】
【核心代码】

标签:

实例下载地址

Wind River Diab Compiler for PowerPC

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警