3.5. Building uClinux Applications
Prev | Chapter 3. Sourcery G++ Lite for ARM uClinux | Next

## 3.5. Building uClinux Applications

When you use GCC to link a uClinux application, it creates two output files. The executable file, as specified by the `-o` command-line option, is a uClinux FLAT format binary (bFLT) file. This is the file you should copy to and run on your uClinux target. The second output file is an ELF-format file containing additional debug and symbol table information to allow you to debug your program with GDB, as described in Section 3.6, “GDB Server”. This file has a `.gdb` extension.

For example, if you specify the command

    arm-uclinuxeabi-gcc foo.c -o bar

then `bar` is the FLAT-format executable and `bar.gdb` is the ELF-format file.

Prev | Up | Next
3.4. ABI Compatibility | Home | 3.6. GDB Server