> Comment(by dukeleto):
> 
>  We probably want to actually store the string 'rtemsx.x' where x.x is the
>  version of RTEMS in whichever config key stores the name of the operating
>  system.

"osname" is currently set by config/auto/arch.pm, based on perl5's 
$Config{archname}, which, in turn, is based on the output of `uname -a`, 
along with a lot of other heuristics accumulated over the years. 
Presumably, there is some existing file one could test for or existing 
command one could run to determine if this is RTEMS or not.

Parrot doesn't generally use perl5's Config{osvers}, though parrotbug uses 
it in bug reports.  Oddly, init/hints/freebsd.pm recomputes $osversion, 
but never uses it.  I think it would make sense to add an "osvers" key to 
the existing "cpuarch" and "osname" keys in the config/auto/arch.pm step.

--
    Andy Dougherty              [email protected]

_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to