Versions

Ralf Corsepius ralf.corsepius at rtems.org
Fri Dec 18 03:38:57 UTC 2009


On 12/18/2009 12:00 AM, Leon Pollak wrote:
> On Thursday December 17 2009, Ralf Corsepius wrote:
>>> I scanned the docs and source and did not find the way how the RTEMS
>>> version (and BSP version too) may be reported to an application.
>> What exactly do you want to use this for?
> Well, I need to trace all the components versions and report them when asked.
> So, I want to be able to report, as minimum, RTEMS version and BSP version.
>
>
>> There are several options - Which, depends on your use-case.
>>
>> e.g. cpuopts.h provides several defines, then there are  _RTEMS_version
>> (a string) and rtems_get_version_string() (a function).
> This will be OK for RTEMS version, just where is it defined? I wasn't able to
> find it in my 4.8.0. I found cpuopts.h file and it may be a decision...
autoconf magic inside in cpukit/configure

cpuopts.h is a generated by cpukit/configure and receives its values 
from it.

> Any way to trace the BSP versions?
There are no BSP versions, so there is nothing to trace.

Ralf



More information about the users mailing list