Build with RSB - I got lost.
gedare at rtems.org
Thu Mar 26 14:37:04 UTC 2015
On Thu, Mar 26, 2015 at 10:29 AM, Stanisław Grzeszczak
<stgrzeszczak at gmail.com> wrote:
> I'm a newcomer to RTEMS. The GSoC/GettingStarted and Quick_Start pages led
> me to the RSB. I've followed the RSB instructions and built the toolset and
> RTEMS using the --with-rtems option. Now, I wanted to get back to the
> GSOC/GettingStarted and Quick_Start instructions.
> Question 0: Should I still run the bootstrap, configure and make scripts, or
> did the RSB run them?
Using --with-rtems, the RSB ran them. It should have "installed" RTEMS
to wherever the prefix/install point you set is.
> Both tutorials mention testing the build by running a gdb session on a test
> program. I tried to build the "Hello" example with gcc; however,
> sparc-rtems4.11-gcc is unable to find the necessary header files. I tried
> sparc-rtems4.11-cpp -v and the include paths do not match the locations
> where rtems.h, rtems/test.h and others can be found.
Make sure the prefix/bin where RTEMS was installed is located,
although it sounds like the RTEMS install failed from RSB. You may
like to re-try the bootstrap, configure, make of RTEMS after all.
> 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?
The header files get moved around during the build/install.
> (Q 2: Should the examples have already been built along with everything
I think they should be installed too, although I don't know where they
go off the top of my head.
> I'd appreciate any help regarding my questions. Should I include any
> additional information?
> Thank you,
> users mailing list
> users at rtems.org
More information about the users