4.2. Running Applications on the Target System
Prev | Chapter 4. Using Sourcery G++ from the Command Line | Next

## 4.2. Running Applications on the Target System

To run your program on a uClinux target system, use the command:

    > factorial

You should see:

    factorial(0) = 1
    factorial(1) = 1
    factorial(2) = 2
    factorial(3) = 6
    factorial(4) = 24
    factorial(5) = 120
    factorial(6) = 720
    factorial(7) = 5040
    factorial(8) = 40320
    factorial(9) = 362880

Prev | Up | Next
Chapter 4. Using Sourcery G++ from the Command Line | Home | 4.3. Running Applications from GDB