Build with RSB - I got lost.

Joel Sherrill joel.sherrill at oarcorp.com
Thu Mar 26 15:11:02 UTC 2015


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



More information about the users mailing list