3.3. Compiling for ARMv4T and ARMv5T Systems
Prev | Chapter 3. Sourcery G++ Lite for ARM GNU/Linux | Next

## 3.3. Compiling for ARMv4T and ARMv5T Systems

By default Sourcery G++ generates Linux binaries that require an ARMv5TE or later CPU. To build applications or libraries capable of running on ARMv4T or early ARMv5 CPUs, use the `-march=armv4t` or `-march=armv5t` command-line options. These options also select libraries for ARMv4T processors; see Section 3.2, “Library Configurations” for details.

Code compiled for ARMv4T is ABI compatible with ARMv5 code. Code and binaries compiled for different architectures may be mixed freely.

Prev | Up | Next
3.2. Library Configurations | Home | 3.4. Target Kernel Requirements