1.1 Toolchain overview

The ARM® Compiler 6 compilation tools allow you to build executable images, partially linked object files, and shared object files, and to convert images to different formats.

Figure 1-1 Compiler toolchain
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


The ARM Compiler toolchain comprises the following tools:

armclang

The armclang compiler and assembler. This compiles C and C++ code, and assembles A64, A32, and T32 GNU syntax assembly code.

armasm

The legacy assembler. This assembles A32, A64, and T32 assembly code, using ARM syntax.

Only use armasm for legacy ARM syntax assembly code. Use the armclang assembler and GNU syntax for all new assembly files.

The linker. This combines the contents of one or more object files with selected parts of one or more object libraries to produce an executable program.

armar
The librarian. This enables sets of ELF object files to be collected together and maintained in archives or libraries. You can pass such a library or archive to the linker in place of several ELF files. You can also use the archive for distribution to a third party for further application development.
fromelf

The image conversion utility. This can also generate textual information about the input image, such as its disassembly and its code and data size.

Note:

Disassembly is generated in ARM assembler syntax and not GNU assembler syntax.
Non-ConfidentialPDF file icon PDF versionARM 100066_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.