Re: [Xenomai-core] [PATCH] speed up building of posix apps

2006-08-19 Thread Jan Kiszka
Gilles Chanteperdrix wrote:
 Jan Kiszka wrote:
   Gilles Chanteperdrix wrote:
Jan Kiszka wrote:
  Ok, here comes version 2, now with detection of the required ld 
 feature.
  Falls back to normal behaviour if ld is too old. Could you test it 
 please?
  
  [Grmbl, the fun stops where autoconf begins...]

Seems to work. But maybe we could find the bottleneck and fix it in a
general way. What part of the process is slow ?

   
   Don't know. Maybe it's some automake magic (the arguments look different
   between libtool invocation and linker run), maybe just the long list of
   arguments.
   
   Anyway, it's also annoying how the screen is filled up with this
   irrelevant information. So besides looking for other optimisations (but
   things run fine now I think), I definitely vote for the @file approach
   for the sake of output reduction. I haven't build a larger POSIX project
   against Xenomai recently, but I could imagine that the dump size can
   become even more than just annoying...
 
 Patch applied, thanks. Since we are talking about optimisation, in shell
 scripts, I prefer to set a variable to true (or better, the : builtin)
 or false, this way, it may be used directly as a condition.
 

Sorry, don't get yet what part you are referring to. If you would like
to express something in that patch differently, go ahead. I was already
happy when it worked. :)

Jan



signature.asc
Description: OpenPGP digital signature
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Re: Test, benchmark

2006-08-19 Thread Gilles Chanteperdrix
Jan Kiszka wrote:
  list=a,b,c,d
  for option in `echo $list|sed -e's/,/\n/g'`; do
   case $option in
   a)
   do_this
   ;;
   b)
   do_that
   ;;
   ...
   esac
  done


What about:

save_ifs=$IFS
IFS=,
for option in $list; do
 case $option in
...
 esac
done
IFS=$save_ifs

-- 


Gilles Chanteperdrix.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


[Xenomai-core] Xenomai v2.2.1

2006-08-19 Thread Philippe Gerum

Here is the first maintenance release for the v2.2.x branch.  Short
log follows:

[x86, powerpc] Upgrade Adeos support.

[nucleus] Fix resource stealing in synchronization management
code.
Ignore migration requests from threads blocked on the
startup barrier.
Do not force migration upon dormant threads.

[posix] Iron process cleanup code.
Fix user-space mutex attribute handling.
Fix cancellation request handling.
Ensure child processes bind to the skin upon fork.

[native] Fix rt_queue_read() argument handling when called
from user-space.
Do not send SIGKILL to dormant threads upon termination.

[uvm] Mark as deprecated. Will be removed from v2.3.

[irqbench] Fix 2.4 build.

Please see the ChangeLog for details.

http://download.gna.org/xenomai/stable/xenomai-2.2.1.tar.bz2

-- 
Philippe.



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core