You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How-to Build New Applications

  • Checkout top level package release and cd to it:
cvs co -d <mydir> release
cd <mydir>
  • Checkout the packages you need, for instance:
cvs co rce
cvs co rceusr
cvs co rceapp
  • Edit projects.mk according to your needs
  • Build one or more of the available targets, eg:
gmake ppc-rtems-rce405
gmake i386-linux

You may append -opt to the architecture name for building with optimization and/or -dbg for building with the debugging information. For example the following commands specify valid targets:

gmake i386-linux-opt
gmake i386-linux-dbg
gmake i386-linux-opt-dbg

These commands can be issued at the top level to build the specified architecture for all projects in the release, at the project level to build all packages for that project or at the package level to build one package only. Note that:

gmake rceapp.console.ppc-rtems-rce405

and

cd rceapp/console
gmake ppc-rtems-rce405

are equivalent.

  • No labels