<div>Hello Wolfgang,</div>
<div>&nbsp;</div>
<div>Ok.&nbsp; Thank you for the reality check.&nbsp;&nbsp; Could you please tell me where i can get a reliable toolchain so I can end my frustration?</div>
<div>&nbsp;</div>
<div>FWIW, I am not currently adding new code, I am just trying to get the existing examples directory to build.&nbsp; I talked to my more knowledgeble co-worker and he told me that my approach was not what I wanted anyway.&nbsp; By statically linking to the libraries as
</div>
<div>I have done, I am not created a loadable applet which is my main goal.</div>
<div>&nbsp;</div>
<div>Many thanks in advance,</div>
<div>&nbsp;</div>
<div>JD<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/15/05, <b class="gmail_sendername">Wolfgang Denk</b> &lt;<a href="mailto:wd@denx.de">wd@denx.de</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dear John,<br><br>in message &lt;<a href="mailto:6a7ac2300511150252w60601196qea018696ae5d1813@mail.gmail.com">
6a7ac2300511150252w60601196qea018696ae5d1813@mail.gmail.com</a>&gt; you wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;I am getting closer to getting the examples code to build. I have added a<br>&gt; bunch of object files and library files to the link command in the examples
<br>&gt; Makefile. However,<br><br>I really, really don't understand what you are actually doing. If you<br>put your code in the examples directory, then just adding the&nbsp;&nbsp;binary<br>name&nbsp;&nbsp;to the &quot;BIN&quot; definition in the &quot;examples/Makefile&quot; is *all* you
<br>have to do to get it build correctly.<br><br>If you prefer to keep the code in your own board directory (which&nbsp;&nbsp;is<br>a&nbsp;&nbsp;much&nbsp;&nbsp;better&nbsp;&nbsp;approach, especially if you intend to submit it as a<br>patch) then just&nbsp;&nbsp;have&nbsp;&nbsp;a&nbsp;&nbsp;look&nbsp;&nbsp;at&nbsp;&nbsp;the&nbsp;&nbsp;trab_fkt*&nbsp;&nbsp;targets&nbsp;&nbsp;in&nbsp;&nbsp;the
<br>&quot;board/trab/Makefile&quot;.<br><br>Nothing more needs to be done. Really.<br><br>If this does not work for you, then&nbsp;&nbsp;your&nbsp;&nbsp;toolchain&nbsp;&nbsp;is&nbsp;&nbsp;broken&nbsp;&nbsp;and<br>should be replaced.<br><br>&gt; I have gotten to the last bug and I don't know how to solve it. Below, it
<br><br>&quot;the last bug&quot; ??? Famous last words.<br><br>&gt; complains about __got2_entries. I found this defined in our board<br>....<br>&gt; ppc-linux-ld: BFD 2.15.90.0.1.1 20040303 (SuSE Linux) assertion fail<br>
&gt; ../../bfd/elf32-ppc.c:5645<br>&gt; make[1]: *** [hello_world] Segmentation fault<br><br>Your tool crashes&nbsp;&nbsp;with&nbsp;&nbsp;a&nbsp;&nbsp;segmentation&nbsp;&nbsp;fault.&nbsp;&nbsp;That's&nbsp;&nbsp;a&nbsp;&nbsp;tolchain<br>problem.&nbsp;&nbsp;Get&nbsp;&nbsp;yourself&nbsp;&nbsp;working&nbsp;&nbsp;tools&nbsp;&nbsp;and&nbsp;&nbsp;forget&nbsp;&nbsp;about&nbsp;&nbsp;all this
<br>trouble.<br><br>Best regards,<br><br>Wolfgang Denk<br><br>--<br>Software Engineering:&nbsp;&nbsp;Embedded and Realtime Systems,&nbsp;&nbsp;Embedded Linux<br>Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: <a href="mailto:wd@denx.de">
wd@denx.de</a><br>Compassion -- that's the one things no machine ever had.&nbsp;&nbsp;Maybe it's<br>the one thing that keeps men ahead of them.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- McCoy, &quot;The Ultimate Computer&quot;, stardate 4731.3<br></blockquote>
</div><br>