VARIANT=DEBUG was Re: Conditional debug code

Joel Sherrill joel.sherrill at OARcorp.com
Wed Dec 10 18:59:10 UTC 2003


Charles Steaderman wrote:

> 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.

Ralf has been working to get rid of the concept of build variants and
follow the GNU conventions.  I will have to leave it to him to tell
us all the GNUitically correct way to do it now. :)

> - Charlie
> 


-- 
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