information about resources of actual application

Aaron J. Grier aaron at frye.com
Thu Sep 27 21:01:59 UTC 2001


On Thu, Sep 27, 2001 at 03:08:25PM +0200, Jan.Suchotzki at de.abb.com wrote:

> I recognised, that the right version (which makes some output) of
> malloc_dump() will be called only if RTEMS_DEBUG is defined.  I have
> compiled and installed my Snapshot with VARIANT=DEBUG and compile my
> appilcation with make debug. I´ve included rtems/libcsupport.h for
> malloc_dump().
> 
> Can somebody tell me why it didn´t work? I try to execute it with the
> m68k-efi332 bsp.

when compiling RTEMS you need to add XCPPFLAGS=-DRTEMS_DEBUG, like so:

make VARIANT=debug XCPPFLAGS=-DRTEMS_DEBUG

VARIANT and XCPPFLAGS options are orthogonal.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com



More information about the users mailing list