excluding rtems managers

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jul 26 15:59:54 UTC 2000


Eric Petersen wrote:
> 
> Hello,
> 
> Can anyone tell me the correct way to exclude unused functionality from
> the rtems library?  The documentation says it can be done, but doesn't
> tell how to do it.

This only applies to the Classic API.  List the managers you want
in the MANAGERS define in the application Makefile.  The master
list is in make/leaf.cfg.

If all you are worrying about is executable size, then this is not
as necessary as it once was.  Although all managers are initialized
and thus the data they require is included, directives that are
not used will not be linked in.  The optional manager support
returns "not configured" for the missing managers.

> Thanks,
> 
> Eric Petersen
> e.s.petersen at ieee.org

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list