Build with RSB - I got lost.

Stanisław Grzeszczak stgrzeszczak at gmail.com
Thu Mar 26 16:01:28 UTC 2015


@All,

It's all set up and working now.

Thank you for your invaluable input,
Stanislaw

2015-03-26 16:11 GMT+01:00 Joel Sherrill <joel.sherrill at oarcorp.com>:

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


More information about the users mailing list