1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.3.�Building Your Program</title><link rel="stylesheet" href="cs.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Sourcery CodeBench Lite"><link rel="up" href="chap-quickstart.html" title="Chapter�1.�Quick Start"><link rel="prev" href="ch01s02.html" title="1.2.�Configuring Sourcery CodeBench Lite for the Target System"><link rel="next" href="ch01s04.html" title="1.4.�Running and Debugging Your Program"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.3.�Building Your Program</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>�</td><th width="60%" align="center">Chapter�1.�Quick Start</th><td width="20%" align="right">�<a accesskey="n" href="ch01s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id521415"></a>1.3.�Building Your Program</h2></div></div></div><p><b>Build your program with Sourcery CodeBench command-line tools.�</b> 2 3 Create a simple test program, and follow the directions in 4 <a class="xref" href="chap-building.html" title="Chapter�4.�Using Sourcery CodeBench from the Command Line">Chapter�4, “Using Sourcery CodeBench from the Command Line”</a> to compile and link it using 5 Sourcery CodeBench Lite. 6 <span> 7 On bare-metal targets, you must specify a linker script 8 using the <code class="option">-T</code> option on your 9 link command line. 10 <span> 11 Supported boards and linker scripts are listed in 12 <a class="xref" href="chap-cs3.html" title="Chapter�5.�CS3™: The CodeSourcery Common Startup Code Sequence">Chapter�5, “CS3™: The CodeSourcery Common Startup Code Sequence”</a>. 13 </span> 14 </span> 15 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="chap-quickstart.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="ch01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.2.�Configuring Sourcery CodeBench Lite for the Target System�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�1.4.�Running and Debugging Your Program</td></tr></table></div></body></html> 16