Am 06.02.2013 um 15:08 schrieb andy pugh: > On 6 February 2013 13:25, John Morris <j...@zultron.com> wrote: >> Please ask questions about anything still >> unclear, and I promise a short answer. > > This seems to be close to (or possibly already there) a situation > where LinuxCNC can be distributed as application-only to run on a > generic kernel.
I would see the unified binary (RTAPI loaded at runtime depending on current kernel) as a candidate for that. The current per-threadstyle build effort is way too much work IMV. > However, if this is the case, how do we inform the users that > significantly better performance can be obtained by running a > specialised kernel? (RTAPI or Xenomai). It would be a shame if a > result of all this excellent work was new users being disappointed by > the capabilities of the system. I would think a popup window through the linuxcnc shell script is an option which brings us to: how is it going to detect which kernel it's running on? there's a hokey way to it - by string matching uname output, and a surefire way (C), which will be buried in the HAL code near the RTAPI startup before I propose the solution: note that the userland threads heading for actual use (not just sim) suggests unifying other platform-dependent 'styles' of doing things - my favorite is the RTAPI message level; in kernel thread styles, we have /proc/rtapi/debug to set it globally; in userland thread styles there is currently no equivalent to /proc/rtapi and in userland comps it's per component I'd think a default HAL component (maybe even called "hal" or "config") should export these values in an unambiguous form as pins once and for all; rtapi message level and current platform being candidates. kernel type would be R/O; message level would be R/W. - Michael > > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers