On 12 May 2018 at 00:13, Danxue Huang <danxue.hu...@gmail.com> wrote:
> Yes! I am trying to run hello world at Ubuntu in a VM. > > This link will help you set up things properly . https://ftp.rtems.org/pub/rtems/people/chrisj/doc-online/4.11/user/start/index.html > On Fri, May 11, 2018 at 1:37 PM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> >> >> On Fri, 11 May 2018, 23:59 Danxue Huang, <danxue.hu...@gmail.com> wrote: >> >>> Hey Vijay, >>> >>> 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 >>> >>> 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! >>> >> >> maybe I didn't understand the current status of set up. >> are you trying to run hello world ? >> >>> >>> Best, >>> Dannie >>> >>> On Fri, May 11, 2018 at 12:57 PM, Vijay Kumar Banerjee < >>> vijaykumar9...@gmail.com> wrote: >>> >>>> >>>> Hello Dannie, >>>> >>>> I guess you're looking for the testsuites direcotry under the build >>>> directory. >>>> It can be found somewhere like this >>>> >>>> $HOME/development/rtems/kernel/erc32/sparc-rtems5/c/erc32/testsuites >>>> >>>> If you're looking for the c code then you can find it under the >>>> RTEMS_ROOT directory. >>>> In my set up the root directory is here: >>>> >>>> $HOME/development/rtems/kernel/rtems/testsuites >>>> >>>> You can refer to this link to understand the directory structure >>>> properly . >>>> >>>> https://docs.rtems.org/branches/master/develenv/directory.html >>>> >>>> Hopefully it was helpful. >>>> >>>> regards, >>>> Vijay >>>> >>>> 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. >>>> On 11 May 2018 at 22:33, Danxue Huang <danxue.hu...@gmail.com> wrote: >>>> >>>>> Chris, >>>>> >>>>> 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. >>>>> >>>>> dannie@dannie-VirtualBox:~/development/rtems/4.11/sparc-rtems4.11$ >>>>> sparc-rtems4.11-gdb test.exe >>>>> GNU gdb (GDB) 7.9 >>>>> Copyright (C) 2015 Free Software Foundation, Inc. >>>>> License GPLv3+: GNU GPL version 3 or later < >>>>> http://gnu.org/licenses/gpl.html> >>>>> This is free software: you are free to change and redistribute it. >>>>> There is NO WARRANTY, to the extent permitted by law. Type "show >>>>> copying" >>>>> and "show warranty" for details. >>>>> This GDB was configured as "--host=x86_64-linux-gnu >>>>> --target=sparc-rtems4.11". >>>>> Type "show configuration" for configuration details. >>>>> For bug reporting instructions, please see: >>>>> <http://www.gnu.org/software/gdb/bugs/>. >>>>> Find the GDB manual and other documentation resources online at: >>>>> <http://www.gnu.org/software/gdb/documentation/>. >>>>> For help, type "help". >>>>> Type "apropos word" to search for commands related to "word"... >>>>> "/home/dannie/development/rtems/4.11/sparc-rtems4.11/test.exe": not >>>>> in executable format: File format not recognized >>>>> (gdb) tar sim >>>>> Connected to the simulator. >>>>> (gdb) load >>>>> No executable file specified. >>>>> Use the "file" or "exec-file" command. >>>>> (gdb) r >>>>> Starting program: >>>>> warning: No executable file specified. >>>>> warning: No program loaded. >>>>> [Inferior 1 (process 42000) exited normally] >>>>> (gdb) quit >>>>> >>>>> 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? >>>>> >>>>> Thank you so much! >>>>> >>>>> -Dannie >>>>> >>>>> On Fri, May 11, 2018 at 12:07 AM, Chris Johns <chr...@rtems.org> >>>>> wrote: >>>>> >>>>>> On 11/5/18 4:01 pm, Danxue Huang wrote: >>>>>> > Hi there, >>>>>> > >>>>>> > I got stuck on 2.5 installing a tar file ( I have attached the >>>>>> website below). >>>>>> > >>>>>> >>>>>> You can skip that section. It does not really belong in the Quick >>>>>> Start chapter. >>>>>> >>>>>> > https://docs.rtems.org/branches/master/rsb/quick-start.html# >>>>>> building >>>>>> > <https://docs.rtems.org/branches/master/rsb/quick-start. >>>>>> html#building> >>>>>> > >>>>>> > The tar file is supposed that I have downloaded in my machine, but >>>>>> there is not >>>>>> > a required .bz2 file "rtems-4.11-sparc-rtems4.11-1.tar.bz2", all >>>>>> my files ends >>>>>> > at .bz2 are as below. >>>>>> > >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/g >>>>>> mp-5.0.5.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/b >>>>>> inutils-2.26.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/r >>>>>> tems-tools-25863503edb513e7501481ff2074c02bf219f519.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/b >>>>>> inutils-2.30.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/g >>>>>> mp-6.1.0.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/g >>>>>> cc-4.9.3.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/m >>>>>> pfr-3.0.1.tar.bz2 >>>>>> > ./development/rtems/src/rtems-source-builder/rtems/sources/m >>>>>> pfr-3.1.4.tar.bz2 >>>>>> > >>>>>> > Is there any other way I can download the required tar file? Thank >>>>>> you! >>>>>> > >>>>>> >>>>>> You should not needed it. >>>>>> >>>>>> Have you managed to build the tools? >>>>>> >>>>>> Chris >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> devel mailing list >>>>> devel@rtems.org >>>>> http://lists.rtems.org/mailman/listinfo/devel >>>>> >>>> >>>> >>> >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel