ARM® Compiler Getting Started Guide

Version 6.02


Table of Contents

Preface
About this book
Using this book
Glossary
Typographic conventions
Feedback
Other information
1 Overview of the ARM® Compiler 6 Toolchain
1.1 About ARMv8 terminology
1.2 About ARM® Compiler
1.3 Host platform support for ARM® Compiler
1.4 About the toolchain documentation
1.5 ARM® Compiler toolchain licensing
1.6 Standards compliance in ARM® Compiler
1.7 Compliance with the ABI for the ARM Architecture (Base Standard)
1.8 GCC compatibility provided by ARM® Compiler 6
1.9 Toolchain environment variables
1.10 ARM architectures supported by the toolchain
1.11 ARM® Compiler and virtual address space
1.12 Compilation tools command-line option rules
1.13 ARM® Compiler package structure
1.14 Compiler command-line options
1.15 Clang and LLVM documentation
1.16 Further reading
2 Creating an Application
2.1 Introduction to the ARM compilation tools
2.2 The ARM compiler command
2.3 Building an image from C source
2.4 The ARM linker command
2.5 Linking an object file (armclang)
2.6 The ARM assembler commands
2.7 Building an image from GNU syntax assembly code
2.8 Building an image from legacy ARM syntax assembly code
2.9 The fromelf image converter command

List of Figures

2-1 A typical tool usage flow diagram

List of Tables

1-1 Environment variables used by the toolchain
1-2 Compiler command-line options

Release Information

Document History
Issue Date Confidentiality Change
A 14 March 2014 Non-Confidential ARM v6.00 Release
B 15 December 2014 Non-Confidential ARM v6.01 Release
C 30 June 2015 Non-Confidential ARM v6.02 Release

Non-Confidential Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.
This document may include technical inaccuracies or typographical errors.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.
Copyright © [2014, 2015], ARM Limited or its affiliates. All rights reserved.
ARM Limited. Company 02557590 registered in England.
110 Fulbourn Road, Cambridge, England CB1 9NJ.
LES-PRE-20349

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.
Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is Final, that is for a developed product.

Web Address

Non-ConfidentialPDF file icon PDF versionARM DUI0741C
Copyright © 2014, 2015 ARM. All rights reserved.