<div>Hello Wolfgang,</div>
<div> </div>
<div>Ok. Thank you for the reality check. Could you please tell me where i can get a reliable toolchain so I can end my frustration?</div>
<div> </div>
<div>FWIW, I am not currently adding new code, I am just trying to get the existing examples directory to build. I talked to my more knowledgeble co-worker and he told me that my approach was not what I wanted anyway. 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> </div>
<div>Many thanks in advance,</div>
<div> </div>
<div>JD<br><br> </div>
<div><span class="gmail_quote">On 11/15/05, <b class="gmail_sendername">Wolfgang Denk</b> <<a href="mailto:wd@denx.de">wd@denx.de</a>> 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 <<a href="mailto:6a7ac2300511150252w60601196qea018696ae5d1813@mail.gmail.com">
6a7ac2300511150252w60601196qea018696ae5d1813@mail.gmail.com</a>> you wrote:<br>><br>> I am getting closer to getting the examples code to build. I have added a<br>> bunch of object files and library files to the link command in the examples
<br>> 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 binary<br>name to the "BIN" definition in the "examples/Makefile" 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 is<br>a much better approach, especially if you intend to submit it as a<br>patch) then just have a look at the trab_fkt* targets in the
<br>"board/trab/Makefile".<br><br>Nothing more needs to be done. Really.<br><br>If this does not work for you, then your toolchain is broken and<br>should be replaced.<br><br>> I have gotten to the last bug and I don't know how to solve it. Below, it
<br><br>"the last bug" ??? Famous last words.<br><br>> complains about __got2_entries. I found this defined in our board<br>....<br>> ppc-linux-ld: BFD 2.15.90.0.1.1 20040303 (SuSE Linux) assertion fail<br>
> ../../bfd/elf32-ppc.c:5645<br>> make[1]: *** [hello_world] Segmentation fault<br><br>Your tool crashes with a segmentation fault. That's a tolchain<br>problem. Get yourself working tools and forget about all this
<br>trouble.<br><br>Best regards,<br><br>Wolfgang Denk<br><br>--<br>Software Engineering: Embedded and Realtime Systems, 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. Maybe it's<br>the one thing that keeps men ahead of them.<br> -- McCoy, "The Ultimate Computer", stardate 4731.3<br></blockquote>
</div><br>