Arm Compiler 6.20 C/C++ 库与浮点支持用户指南

需积分: 5 0 下载量 50 浏览量 更新于2024-06-22 收藏 1.88MB PDF 举报
"Arm Compiler for Embedded Version 6.20 Arm C and C++ Libraries and Floating-Point Support User Guide" 这份文档是针对Arm Compiler for Embedded的6.20版本的用户指南,专门介绍了Arm的C和C++库以及浮点支持的相关内容。它详细阐述了标准库和微库的特性、实现细节以及在使用过程中的注意事项,对于开发者来说具有很高的参考价值。 Arm Compiler是Arm公司提供的嵌入式编译工具,用于优化针对Arm架构的代码生成。该编译器支持C和C++语言,并且对浮点计算提供了专门的支持,这对于处理需要高精度数学运算的应用(如多媒体处理、科学计算或图形渲染)至关重要。 本用户指南可能涵盖了以下关键知识点: 1. **库的分类与特性**:包括标准库(如ANSI/ISO C和C++库)和微库(可能是指针对特定硬件优化的轻量级库)。标准库遵循编程语言的规范,提供通用功能;微库则针对资源受限的嵌入式环境进行了定制和优化。 2. **浮点支持**:详细介绍了如何在Arm平台上进行浮点运算,包括浮点指令集的使用、浮点单元(FPU)的配置,以及无FPU硬件下的软件模拟方法。 3. **库的实现**:可能包含库函数的具体实现细节,如内存管理、算法优化、异常处理等,这对于理解和调试代码性能非常有用。 4. **使用注意事项**:可能涵盖链接选项、编译器标志、兼容性问题、移植性考量,以及如何正确调用库函数以避免潜在的问题。 5. **版本更新历史**:从A到G的发行版更新,反映了Arm Compiler 6.x系列的演进过程,每个版本的变更可能涉及新功能的添加、bug修复或性能改进,这对追踪和理解编译器的发展轨迹很重要。 6. **兼容性和移植性**:讨论了不同版本的Arm Compiler与各种Arm处理器之间的兼容性,以及如何将代码从一个平台移植到另一个平台。 7. **最佳实践**:可能包含编写高效、可维护的嵌入式C和C++代码的建议和示例,帮助开发者充分利用Arm架构的优势。 通过这份用户指南,开发者可以学习如何更有效地利用Arm Compiler 6.20进行嵌入式开发,提升代码质量和效率,同时掌握浮点计算在嵌入式环境中的应用技巧。

checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -std=gnu11 -E checking for x86_64-w64-mingw32-ranlib... no checking for ranlib... ranlib checking for x86_64-w64-mingw32-dlltool... no checking for dlltool... no checking for x86_64-w64-mingw32-ar... no checking for x86_64-w64-mingw32-lib... no checking for x86_64-w64-mingw32-link... no checking for ar... ar checking the archiver (ar) interface... ar checking dependency style of gcc -std=gnu11... gcc3 checking for x86_64-w64-mingw32-as... no checking for as... as checking whether dlltool supports --temp-prefix... yes checking whether to build a w32api package for Cygwin... no checking whether to build the Win32 libraries... yes checking whether to build the Win64 libraries... yes checking whether to build the WinARM32 libraries... no checking whether to build the WinARM64 libraries... no checking whether to use genlib... no checking whether to enable globbing... no checking whether to enable private exports... no checking whether to enable delay import libs... no checking what to provide as libmsvcrt.a... msvcrt-os checking whether to include support for Control Flow Guard... no checking whether to enable experimental features... no checking whether the compiler supports -municode... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for _mingw_mac.h... no

2023-06-10 上传