Welcome to armclang

The ARM Compiler is a highly optimizing C and C++ compiler for ARM architectures, providing best-in-class code size and performance for embedded applications.

Learn More

Key Features

Optimization: Produces highly optimized code for ARM processors.

Compliance: Supports the latest C and C++ standards.

Debugging: Integrated with ARM's debugging tools.

Usage

armclang is invoked similarly to other compilers:

armclang -o outputfile sourcefile.c

For more advanced usage and options, refer to the ARM Compiler Documentation.

Advantages

Performance: ARM Cortex delivers four time as many computations per watt.

Size: Generates compact and efficient code for maximal performance.

Support: Backed by comprehensive ARM support and community.

Examples

Here's a simple example of compiling a Hello World program:


#include 

int main() {
    printf("Hello, World!\n");
    return 0;
}
        

Compile with:

armclang -o hello hello.c

Resources

Explore more about armclang and ARM Compiler:

arm.com Download ARM Compiler ARM Compiler Reference Guide ARM Community