Newbie question: Building Apps

Charles Manning cdhmanning at gmail.com
Wed Jan 29 01:15:54 UTC 2020


Thanks for the quick response Chris

It looks like I'm back in action.




On Wed, Jan 29, 2020 at 1:56 PM Chris Johns <chrisj at rtems.org> wrote:
>
> On 29/1/20 11:25 am, Charles Manning wrote:
> > Hi All
> >
> > I need to get going with RTEMS, so I thought I'd follow the quickstart guild.
> >
> > All good until I got to the bit where I wanted to build an app.
> >
> > https://docs.rtems.org/branches/master/user/start/app.html: TODO
>
> Yes, this section needs some effort and no one has stepped up to add it.
>
> > I have the following in the PATH:
> >
> > /home/charles/quick-start/rtems/5/bin:
> >
> > So I fetched the examples-v2 from git and tried make.
>
> Do you mean rtems-examples? The repo was renamed last year.

No, it was  git://git.rtems.org/jennifer/examples-v2.git


I tried again with
git clone git://git.rtems.org/rtems-examples.git
cd rtems-examples
export RTEMS_MAKEFILE_PATH=/home/charles/quick-start/rtems/5/sparc-rtems5/erc32
make

That seems to have built properly.
I see there are also better READMEs.

>
> > s-v2$ make
> > Makefile:1: /Makefile.inc: No such file or directory
> > Makefile:3: /make/directory.cfg: No such file or directory
> > make: *** No rule to make target '/make/directory.cfg'.  Stop.
> >
> > A quick sniff in the Makefile indicates that there are at least 3 RTEMS_xxx
> > paths that need to be set.
>
> This uses the Makefile.inc support which I do not know much about.
>
> > Is there a script I need to run to set those up?
>
> The examples also use waf. The waf README provides some help ..
>
> https://git.rtems.org/rtems-examples/tree/README.waf
>
> The RTEMS waf support uses the rtems_waf.git repo and this lets you build an
> application for your BSP.
>
> Chris


More information about the users mailing list