Conditional debug code

Charles Steaderman charlies at
Wed Dec 10 18:46:37 UTC 2003

Does the base RTEMS build procedure set a compilation define when I do a 
build with VARIANT=DEBUG? I would like to conditionally compile code 
with #ifdef DEBUG ... #endif (or something like that). I know that I can 
update mybsp.cfg but if the base build procedure sets a define already I 
would like to use the built-in define.

- Charlie

Charlie Steaderman
charlies at
VP Engineering
Poliac Research Corporation
Phone: 952.707.6245
Cel: 612.242.6364

More information about the users mailing list