From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <444289D4.3020700@domain.hid> Date: Sun, 16 Apr 2006 20:15:48 +0200 From: Philippe Gerum MIME-Version: 1.0 Subject: Re: [Xenomai-help] Problems running testsuite References: <200604131149.40706.tmarscha@domain.hid> <443E9FD2.6070807@domain.hid> <200604141342.40129.tmarscha@domain.hid> <17471.38482.617361.14216@domain.hid> <443FB0BA.5060404@domain.hid> <44427E26.6040608@domain.hid> <17474.34228.663482.766745@domain.hid> In-Reply-To: <17474.34228.663482.766745@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org 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.