<div dir="ltr"><div>@All,</div><div><br></div>It's all set up and working now.<div><br></div><div>Thank you for your invaluable input,<div><span style="font-size:12.8000001907349px">Stanislaw</span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-26 16:11 GMT+01:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/26/2015 10:07 AM, Anand Krishnan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It did run for me!<br>
I just had to export the local bin path as it was on my machine.<br>
</blockquote></span>
Great.<br>
<br>
Just so this thread ends with another piece of advice. I spent months<br>
helping someone on and off and it turned out that they weren't setting<br>
the PATH in each window. All sounded great on the phone. When we<br>
set up a video conference, I saw the mistake in 30 seconds. :)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
On Thu, Mar 26, 2015 at 8:34 PM, Joel Sherrill <<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a> <mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a>>> wrote:<br>
<br>
On 03/26/2015 09:58 AM, Anand Krishnan wrote:<br>
<br>
<br>
<br>
On Thu, Mar 26, 2015 at 8:18 PM, Joel Sherrill<br>
<<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a> <mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a>><br></span>
<mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a><span class=""><br>
<mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a>>>> wrote:<br>
<br>
<br>
<br>
On March 26, 2015 9:45:29 AM CDT, Anand Krishnan<br>
<<a href="mailto:anandkp92@gmail.com" target="_blank">anandkp92@gmail.com</a> <mailto:<a href="mailto:anandkp92@gmail.com" target="_blank">anandkp92@gmail.com</a>><br></span><span class="">
<mailto:<a href="mailto:anandkp92@gmail.com" target="_blank">anandkp92@gmail.com</a> <mailto:<a href="mailto:anandkp92@gmail.com" target="_blank">anandkp92@gmail.com</a>>>> wrote:<br>
><br>
><br>
><br>
>On Thu, Mar 26, 2015 at 8:07 PM, Joel Sherrill<br>
><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a> <mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a>><br></span>
<mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a><div><div class="h5"><br>
<mailto:<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.<u></u>com</a>>>> wrote:<br>
><br>
>On 03/26/2015 09:29 AM, Stanisław Grzeszczak wrote:<br>
><br>
><br>
><br>
>Q 1: Do the mismatched paths mean that the build went wrong?<br>
Or should<br>
>I just fix the paths by hand, or move the lib/include folders?<br>
>(Q 2: Should the examples have already been built along with<br>
everything<br>
>else?)<br>
><br>
>If you configured and built RTEMS using configure, make, etc and<br>
>configured with<br>
>--enable-tests=samples, the executable was there and has symbolic<br>
>information in it.<br>
><br>
>I have no idea what you did. If you used a native gcc or tried to<br>
>compile it by hand,<br>
>then it didn't work.<br>
><br>
><br>
>When I had tried, I had to change the path variable to the<br>
directory<br>
>where RSB built the tool-set.<br>
><br>
>This was the code for I had to use: export<br>
>PATH=/home/development/rtems/<u></u>4.11/bin:$PATH , before I ran<br>
bootstrap.<br>
><br>
<br>
What is the contents of that bin directory?<br>
<br>
Do "type autoconf" and make sure you are getting the one<br>
for RTEMS.<br>
<br>
The bin directory had all the tools created for sparc:<br>
sparc-rtems4.11-gcc, sparc-rtems4.11-gdb among others.<br>
It was created after I build the sparc tool-set.<br>
<br>
<br>
Then when you are at the top of the rtems source tree,<br>
./bootstrap should just run without trouble based on you putting<br>
that directory at the head of your PATH.<br>
<br>
Then.... something like this<br>
<br>
$ cd ..<br>
$ mkdir b-sis<br>
$ cd b-sis<br>
$ ../rtems/configure --target=sparc-rtems4.11<br>
--enable-rtemsbsp=sis --enable-tests=samples<br>
... that should end with a message indicating sis is a BSP to be<br>
built ...<br>
$ make<br>
$ find . -name "*.exe"<br>
... that should print a handful of executables..<br>
$ sparc-rtems4.11-gdb `find . -name hello.exe`<br>
.... gdb stuff ...<br>
(gdb) tar sim<br>
(gdb) load<br>
(gdb) run<br>
... output...<br>
<br>
<br>
><br>
>--<br>
>-- Joel Sherrill<br>
>Ask me about RTEMS: a free RTOS<br>
>Support and Training Available<br>
><br>
><br>
><br>
>_____________________________<u></u>__________________<br>
>users mailing list<br>
><a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>><br></div></div>
<mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>>><span class=""><br>
><a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman/listinfo/users</a><br>
<br>
--joel<br>
<br>
<br>
<br>
<br>
-- -- Joel Sherrill<br>
Ask me about RTEMS: a free RTOS<br>
Support and Training Available<br>
<br>
<br>
</span></blockquote>
<br><div class="HOEnZb"><div class="h5">
<br>
-- <br>
-- Joel Sherrill<br>
Ask me about RTEMS: a free RTOS<br>
Support and Training Available<br>
<br>
</div></div></blockquote></div><br></div>