Build with RSB - I got lost.
joel.sherrill at oarcorp.com
Thu Mar 26 15:04:35 UTC 2015
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>> wrote:
> On March 26, 2015 9:45:29 AM CDT, Anand Krishnan
> <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>> 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
> >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
... that should end with a message indicating sis is a BSP to be built ...
$ find . -name "*.exe"
... that should print a handful of executables..
$ sparc-rtems4.11-gdb `find . -name hello.exe`
.... gdb stuff ...
(gdb) tar sim
> >-- 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>
-- Joel Sherrill
Ask me about RTEMS: a free RTOS
Support and Training Available
More information about the users