1.3. Building Your Program

Build your program with Sourcery G++ command-line tools.  Create a simple test program, and follow the directions in Chapter 4, “Using Sourcery G++ from the Command Line” to compile and link it using Sourcery G++ Lite. On bare-metal targets, you must specify a linker script using the -T option on your link command line. Supported boards and linker scripts are listed in Chapter 5, “CS3™: The CodeSourcery Common Startup Code Sequence”.