You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
4.3 KiB
HTML
97 lines
4.3 KiB
HTML
15 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
|
||
|
<html>
|
||
|
<!-- Created on November, 7 2008 by texi2html 1.78 -->
|
||
|
<!--
|
||
|
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
||
|
Karl Berry <karl@freefriends.org>
|
||
|
Olaf Bachmann <obachman@mathematik.uni-kl.de>
|
||
|
and many others.
|
||
|
Maintained by: Many creative people.
|
||
|
Send bugs and suggestions to <texi2html-bug@nongnu.org>
|
||
|
|
||
|
-->
|
||
|
<head>
|
||
|
<title>Simulavr: 3.2 Building GDB for AVR</title>
|
||
|
|
||
|
<meta name="description" content="Simulavr: 3.2 Building GDB for AVR">
|
||
|
<meta name="keywords" content="Simulavr: 3.2 Building GDB for AVR">
|
||
|
<meta name="resource-type" content="document">
|
||
|
<meta name="distribution" content="global">
|
||
|
<meta name="Generator" content="texi2html 1.78">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<style type="text/css">
|
||
|
<!--
|
||
|
a.summary-letter {text-decoration: none}
|
||
|
pre.display {font-family: serif}
|
||
|
pre.format {font-family: serif}
|
||
|
pre.menu-comment {font-family: serif}
|
||
|
pre.menu-preformatted {font-family: serif}
|
||
|
pre.smalldisplay {font-family: serif; font-size: smaller}
|
||
|
pre.smallexample {font-size: smaller}
|
||
|
pre.smallformat {font-family: serif; font-size: smaller}
|
||
|
pre.smalllisp {font-size: smaller}
|
||
|
span.roman {font-family:serif; font-weight:normal;}
|
||
|
span.sansserif {font-family:sans-serif; font-weight:normal;}
|
||
|
ul.toc {list-style: none}
|
||
|
-->
|
||
|
</style>
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||
|
|
||
|
<a name="Building-GDB"></a>
|
||
|
<a name="SEC7"></a>
|
||
|
<table cellpadding="1" cellspacing="1" border="0">
|
||
|
<tr><td valign="middle" align="left">[<a href="simulavr_6.html#SEC6" title="Previous section in reading order"> < </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_8.html#SEC8" title="Next section in reading order"> > </a>]</td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_5.html#SEC5" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_5.html#SEC5" title="Up section"> Up </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_8.html#SEC8" title="Next chapter"> >> </a>]</td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr.html#Top" title="Cover (top) of document">Top</a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_11.html#SEC11" title="Index">Index</a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
|
||
|
</tr></table>
|
||
|
<h2 class="section"> 3.2 Building GDB for AVR </h2>
|
||
|
|
||
|
<p>In order to use simulavr as a backend to gdb, you must build a special
|
||
|
AVR version of gdb. All gdb versions starting with gdb-5.2.1
|
||
|
officially support the AVR target. You can just configure gdb with the
|
||
|
<code>--target=avr</code> option. For example, you can use this procedure
|
||
|
to install avr-gdb in /usr/local/bin:
|
||
|
</p>
|
||
|
<table><tr><td> </td><td><table class="cartouche" border="1"><tr><td>
|
||
|
<pre class="example">$ ./configure --target=avr
|
||
|
$ make
|
||
|
$ su
|
||
|
# make install
|
||
|
# exit
|
||
|
</pre></td></tr></table>
|
||
|
</td></tr></table>
|
||
|
|
||
|
<hr size="6">
|
||
|
<table cellpadding="1" cellspacing="1" border="0">
|
||
|
<tr><td valign="middle" align="left">[<a href="simulavr_6.html#SEC6" title="Previous section in reading order"> < </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_8.html#SEC8" title="Next section in reading order"> > </a>]</td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_5.html#SEC5" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_5.html#SEC5" title="Up section"> Up </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="simulavr_8.html#SEC8" title="Next chapter"> >> </a>]</td>
|
||
|
</tr></table>
|
||
|
<p>
|
||
|
<font size="-1">
|
||
|
This document was generated by <em>eweddington</em> on <em>November, 7 2008</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78</em></a>.
|
||
|
</font>
|
||
|
<br>
|
||
|
|
||
|
</p>
|
||
|
</body>
|
||
|
</html>
|