Keil™, An ARM® Company

RealView Compiler User's Guide

Selecting the target device

4.1.3. Selecting the target device

The compiler supports several devices that are based on different versions of the ARM architecture. You must specify the target device in the command line using the option --device=name. If you do not specify the target device, the compiler generates an error. Based on the device you specify, the compiler knows what processor and ARM architecture to compile the code for. This enables it to make full use of the processor’s features and instruction set to optimize the code for the selected device. The compiler also assumes a default floating-point unit architecture and a default endianness based on the device you specify. For some devices, you can specify an additional processor option using --device_opt=option.

Note

You can list all the devices supported by the compiler using the command-line option --device=list.

For more information see:

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0375A