wiki:Building/RTEMS

Version 1 (modified by ChrisJohns, on 12/07/05 at 08:40:26) (diff)

Build tool RPM packages.

BuildingRTEMS

The primary source of information about building and configuring RTEMS is always the Getting Started manual for the RTEMS version you are using (see http://www.rtems.com/onlinedocs.html. This section contains answers to some frequently asked questions.

Required Tools

  • Which tools are required to build RTEMS?
  • Do I need autoconf and automake to build RTEMS?
  • Do I need a native gcc on my host?
  • Can I use a non-gcc cross-toolchain?
  • Where to get autoconf automake ld gcc etc.?
  • Building the Tool RPM packages?

Issues when building RTEMS

  • When running ./configure weird thing start to happen
  • When running bootstrap weird thing start to happen
  • configure xxx cannot create executables
  • Why can I not build RTEMS inside of the source tree?
  • Which environment variables to set?
  • Compiler /Assembler /Linker report errors
  • How to set up $PATH?
  • Can I build RTEMS Canadian Cross?
  • Building RTEMS is slow
  • Building my pre-4.5.x BSPs does not work anymore

Get rest from build45.t in FAQ and continue.

Issue relating to Debuging and Building

  • Does building with `make VARIANT=DEBUG' cause RTEMS_DEBUG to get defined?

No.

  • How do I cause RTEMS_DEBUG to get defined

In newer snapshots it's --enable-rtems-debug. In older versions you had to define it inside the target-opts section in your BSP's <BSP>.cfg.

  • What exactly does VARIANT=debug do?

Builds with less optimisation

  • What does RTEMS_DEBUG do?

Enables debug checks inside the RTEMS kernel, including memory heap walking.