Gilles Chanteperdrix wrote:
Philippe Gerum wrote:
 > > Maybe we need a script thats run on the target box, that collects
 > > the needed configuration factors; presumably including:
 > > CPUFLAGS=`grep flags /proc/cpuinfo`
 > > NPTL_AVAIL=`getconf GNU_LIBPTHREAD_VERSION`
> > > > The problem is that we might not always have the target at hand when > building the user-space support (e.g. LiveCD, deployment distro stuff). > Therefore it could only be some optional helper, but not part of the > regular build process.

Maybe we could modify skins user-space initialization so that they test
whether running NPTL if SEP is enabled ? Here is an example, doing
this in plain C :

https://listman.redhat.com/archives/phil-list/2003-April/msg00036.html


Looks good. Additionally, we might end up moving common portions of the various library constructors into a single file in order to reduce code duplication.

--

Philippe.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to