3.3. CS3 Support
Prev | Chapter 3. Sourcery G++ Lite for MIPS ELF | Next

## 3.3. CS3 Support

Sourcery G++ Lite includes CS3 linker scripts and initialization code to support three different classes of target configurations:

- Simulator targets, such as MIPSsim, running under control of the debugger.
- Malta hardware targets running in a bare-metal configuration under control of the debugger.
- Malta hardware targets running under control of the YAMON boot monitor.

You must use the appropriate linker script to match your target, since the memory layouts and startup code sequences are different in each case. Refer to Chapter 5, “CS3™: The CodeSourcery Common Startup Code Sequence” for details on the supported boards for this version of Sourcery G++ Lite.

For simulator and bare-metal targets, CS3 provides semihosted I/O via the debugger console on the host. For instructions on loading and running code on the target from command-line GDB, see Section 4.4, “Running Applications from GDB”.

Prev | Up | Next
3.2. Library Configurations | Home | 3.4. Using Sourcery G++ with MIPS Malta Boards