3. Migrating C and C++ Source CodeΒΆ
The process of converting the C/C++ source code for an existing Arm application that is built with the armcl compiler so that it can now be built using the tiarmclang compiler can be thought of as the process of making your C/C++ source code portable. The armcl compiler supports the use of legacy TI-specific versions of many predefined macro symbols, intrinsics, and pragmas that are not supported by other Arm compilers. The use of such legacy TI mechanisms will render a program unbuildable by other Arm compilers, including the tiarmclang compiler.
- 3.1. Arm C Language Extensions - ACLE
- 3.2. C/C++ Source Migration Aid Diagnostics
- 3.3. Pre-Defined Macro Symbols
- 3.3.1. Pre-Defined Macro Symbols that are Available in Both armcl and tiarmclang
- 3.3.2. Converting armcl Pre-Defined Macro Symbols to tiarmclang Compatible Form
- 3.3.3. Pre-Defined Macro Symbols Associated with wchar_t Type
- 3.3.4. armcl Pre-Defined Macro Symbols that are Not Applicable in tiarmclang
- 3.3.5. Additional Pre-Defined Macro Symbols Supported in tiarmclang
- 3.3.6. The _AEABI_PORTABILITY_LEVEL Pre-Defined Macro Symbol
- 3.4. Intrinsics and Built-in Functions
- 3.5. Pragmas and Attributes