Newbie question: Building Apps

Jonathan Brandmeyer jbrandmeyer at planetiq.com
Wed Jan 29 17:51:39 UTC 2020


RTEMS BSPs place a bunch of pkg-config files under $prefix/lib/pkgconfig
which are named after the various BSPs.  I've just been using those to pick
out the correct CFLAGS for my application.

On Tue, Jan 28, 2020 at 6:16 PM Charles Manning <cdhmanning at gmail.com>
wrote:

> 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
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>


-- 
Jonathan Brandmeyer
Vice President of Software Engineering
PlanetiQ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200129/95ffeb71/attachment.html>


More information about the users mailing list