Datasheet
Contents
iv Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
Chapter 4 The C and C++ Libraries
4.1 About the runtime libraries ......................................................................... 4-2
4.2 Building an application with the C library .................................................... 4-6
4.3 Building an application without the C library ............................................. 4-13
4.4 Tailoring the C library to a new execution environment ............................ 4-20
4.5 Tailoring static data access ...................................................................... 4-25
4.6 Tailoring locale and CTYPE ..................................................................... 4-26
4.7 Tailoring error signaling, error handling, and program exit ....................... 4-51
4.8 Tailoring storage management ................................................................. 4-57
4.9 Tailoring the runtime memory model ........................................................ 4-67
4.10 Tailoring the input/output functions ........................................................... 4-75
4.11 Tailoring other C library functions ............................................................. 4-85
4.12 Selecting real-time division ....................................................................... 4-90
4.13 ISO implementation definition ................................................................... 4-91
4.14 C library extensions .................................................................................. 4-99
4.15 Library naming conventions .................................................................... 4-105
Chapter 5 Floating-point Support
5.1 About floating-point support ........................................................................ 5-2
5.2 The software floating-point library, fplib ...................................................... 5-3
5.3 Controlling the floating-point environment .................................................. 5-8
5.4 The math library, mathlib .......................................................................... 5-24
5.5 IEEE 754 arithmetic .................................................................................. 5-30
Appendix A Via File Syntax
A.1 Overview of via files .................................................................................... A-2
A.2 Syntax ......................................................................................................... A-3
Appendix B Standard C Implementation Definition
B.1 Implementation definition ............................................................................ B-2
Appendix C Standard C++ Implementation Definition
C.1 EC++ support ............................................................................................. C-2
C.2 Integral conversion ..................................................................................... C-3
C.3 Calling a pure virtual function ..................................................................... C-4
C.4 Minor features of language support ............................................................ C-5
C.5 Major features of language support ............................................................ C-7
C.6 Standard C++ library implementation definition .......................................... C-8
Appendix D C and C++ Compiler Implementation Limits
D.1 C++ ISO/IEC standard limits ...................................................................... D-2
D.2 Internal limits .............................................................................................. D-4
D.3 Limits for integral numbers ......................................................................... D-5
D.4 Limits for floating-point numbers ................................................................ D-6