Newbie question: Building Apps

Chris Johns chrisj at rtems.org
Wed Jan 29 23:13:12 UTC 2020


On 30/1/20 9:56 am, Charles Manning wrote:
> So is the short answer here to learn, and use waf?

The short answer and policy for RTEMS is ...

 You can use any build system to build your application

The new build system will generate pkg-config files and this means any build
system that supports them should work. With the current build system they may
work for your BSP and if they do great.

We encourage using an approach like this over cutting and pasting the flags. If
we change the machine flags for a BSP you will pick this up.

https://docs.rtems.org/branches/master/user/exe/executables.html#machine-flags-and-abi

> Is that the future of RTEMS?

Waf is being used internally in the project. It is optional to use with
applications. The rtems_waf repo is a support tool for those wanting to use waf
in their applications.

> Yet another build system :-).

We have a culture of not forcing a specific environment on you. The eco-system
is framework so you can create an environment specific to your needs.

Chris


More information about the users mailing list