<div dir="ltr">Yes! I am trying to run hello world at Ubuntu in a VM.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 1:37 PM, Vijay Kumar Banerjee <span dir="ltr"><<a href="mailto:vijaykumar9597@gmail.com" target="_blank">vijaykumar9597@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 11 May 2018, 23:59 Danxue Huang, <<a href="mailto:danxue.huang@gmail.com" target="_blank">danxue.huang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Vijay,<div><br></div><div>Thank you so much for answering my question! Please don't feel sorry about that, it's great that I also got you to help me so I can figure out my problem faster :D</div><div><br></div><div>I double checked the files in my machine, there are no such files like "kernel", "erc32" and "testsuites", do you know why do I miss these files? Or how can I get these files? Thank you!</div></div></blockquote></div></div><div dir="auto"><br></div></span><div dir="auto">maybe I didn't understand the current status of set up.</div><div dir="auto">are you trying to run hello world ? </div><div><div class="h5"><div dir="auto"></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Best,</div><div>Dannie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 12:57 PM, Vijay Kumar Banerjee <span dir="ltr"><<a href="mailto:vijaykumar9597@gmail.com" rel="noreferrer" target="_blank">vijaykumar9597@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra">Hello Dannie,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I guess you're looking for the testsuites direcotry under the build directory.</div><div class="gmail_extra">It can be found somewhere like this</div><div class="gmail_extra"><br></div><div class="gmail_extra">$HOME/development/rtems/<wbr>kernel/erc32/sparc-rtems5/c/<wbr>erc32/testsuites<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">If you're looking for the c code then you can find it under the RTEMS_ROOT directory.</div><div class="gmail_extra">In my set up the root directory is here:</div><div class="gmail_extra"><br></div><div class="gmail_extra">$HOME/development/rtems/<wbr>kernel/rtems/testsuites<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">You can refer to this link to understand the directory structure properly .</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://docs.rtems.org/branches/master/develenv/directory.html" rel="noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/develenv/<wbr>directory.html</a> <br></div><div class="gmail_extra"><div><div class="m_-9070532092803175112m_-5642330588231281272m_2000440689665567287m_-6185731255250341460m_7279802595458435861gmail_signature"><div dir="ltr"><div dir="ltr"><br></div><div>Hopefully it was helpful.</div><div><br></div><div>regards,</div><div>Vijay</div><div><br></div><div>PS: Apologies to Chris, if it was disrespectful to respond to a question that was addressed to him. I certainly didn't mean any disrespect. </div><div><div class="m_-9070532092803175112m_-5642330588231281272h5"><div dir="ltr">On 11 May 2018 at 22:33, Danxue Huang <span dir="ltr"><<a href="mailto:danxue.huang@gmail.com" rel="noreferrer" target="_blank">danxue.huang@gmail.com</a>></span> wrote:<br></div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-9070532092803175112m_-5642330588231281272h5"><div dir="ltr"><div>Chris,<br><br></div>I have managed to build the tools, but I got another question about testing. I am supposed to have a "testsuites" folder in my machine from the instruction but I did not find it. So I make a "test.exe" file by myself, the output of running "test.exe" is as below.<br><div><div><br>dannie@dannie-VirtualBox:~/<wbr>development/rtems/4.11/sparc-<wbr>rtems4.11$ sparc-rtems4.11-gdb test.exe<br>GNU gdb (GDB) 7.9<br>Copyright (C) 2015 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" rel="noreferrer" target="_blank">http://gnu.org/licenses/gpl.<wbr>html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "--host=x86_64-linux-gnu --target=sparc-rtems4.11".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/" rel="noreferrer" target="_blank">http://www.gnu.org/software/<wbr>gdb/bugs/</a>>.<br>Find the GDB manual and other documentation resources online at:<br><<a href="http://www.gnu.org/software/gdb/documentation/" rel="noreferrer" target="_blank">http://www.gnu.org/software/<wbr>gdb/documentation/</a>>.<br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>"/home/dannie/development/<wbr>rtems/4.11/sparc-rtems4.11/<wbr>test.exe": not in executable format: File format not recognized<br>(gdb) tar sim<br>Connected to the simulator.<br>(gdb) load<br>No executable file specified.<br>Use the "file" or "exec-file" command.<br>(gdb) r<br>Starting program: <br>warning: No executable file specified.<br>warning: No program loaded.<br>[Inferior 1 (process 42000) exited normally]<br>(gdb) quit<br><br></div><div>Now I think the gdb session is working, but the "test.exe" is not executable since it is coded by myself (there are bugs in it). Is there any way I can get the testing files?<br><br></div><div>Thank you so much!<br><br></div><div>-Dannie<br></div></div></div><div class="m_-9070532092803175112m_-5642330588231281272m_2000440689665567287m_-6185731255250341460m_7279802595458435861gmail-HOEnZb"><div class="m_-9070532092803175112m_-5642330588231281272m_2000440689665567287m_-6185731255250341460m_7279802595458435861gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 12:07 AM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" rel="noreferrer" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On 11/5/18 4:01 pm, Danxue Huang wrote:<br>
> Hi there,<br>
> <br>
> I got stuck on 2.5 installing a tar file ( I have attached the website below).<br>
> <br>
<br>
</span>You can skip that section. It does not really belong in the Quick Start chapter.<br>
<br>
> <a href="https://docs.rtems.org/branches/master/rsb/quick-start.html#building" rel="noreferrer noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/rsb/quick-<wbr>start.html#building</a><br>
<span>> <<a href="https://docs.rtems.org/branches/master/rsb/quick-start.html#building" rel="noreferrer noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/rsb/quick-<wbr>start.html#building</a>><br>
> <br>
> The tar file is supposed that I have downloaded in my machine, but there is not<br>
> a required .bz2 file "rtems-4.11-sparc-rtems4.11-1.<wbr>tar.bz2", all my files ends<br>
> at .bz2 are as below.<br>
> <br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>gmp-5.0.5.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>binutils-2.26.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>rtems-tools-<wbr>25863503edb513e7501481ff2074c0<wbr>2bf219f519.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>binutils-2.30.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>gmp-6.1.0.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>gcc-4.9.3.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>mpfr-3.0.1.tar.bz2<br>
> ./development/rtems/src/rtems-<wbr>source-builder/rtems/sources/<wbr>mpfr-3.1.4.tar.bz2 <br>
> <br>
> Is there any other way I can download the required tar file? Thank you!<br>
> <br>
<br>
</span>You should not needed it.<br>
<br>
Have you managed to build the tools?<br>
<span class="m_-9070532092803175112m_-5642330588231281272m_2000440689665567287m_-6185731255250341460m_7279802595458435861gmail-m_2414875901368476739HOEnZb"><font color="#888888"><br>
Chris<br>
</font></span></blockquote></div><br></div>
</div></div><br></div></div>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div>
</blockquote></div></div></div></div></div>
</blockquote></div><br></div>