Running Applications in the Simulator

Sourcery G++ Lite includes a simulator that you can use on the host system to run programs compiled for the target system. Since you do not need target hardware, this is the easiest way to try out Sourcery G++.

To use the simulator run:

> arm-none-eabi-run hello

You should see the expected output:

Hello, world!

You can also use the simulator to execute target programs when debugging with GDB. See the section called “Running Applications from GDB” for more information.