libtool optimization

2008-10-21 Thread Michel Briand
Hello, I've noted that libtool is very very slow. By default it produces shell snippets with "/bin/bash". I tried this in configure.ac: is this the good way ? export SHELL=/bin/sh # Include all that's required to build a library AC_PROG_LIBTOOL Cheers, Michel

Re: libtool optimization

2008-10-21 Thread Bob Friesenhahn
On Tue, 21 Oct 2008, Michel Briand wrote: I've noted that libtool is very very slow. Are you using libtool 2.2.6 or are you using an antique version? Libtool versions prior to 2.2 were indeed very slow. By default it produces shell snippets with "/bin/bash". Current libtool still uses th

Re: libtool optimization

2008-10-21 Thread Ralf Wildenhues
Hi Michel, Bob, * Bob Friesenhahn wrote on Tue, Oct 21, 2008 at 05:26:58PM CEST: > > Current libtool still uses the shell that Autoconf chooses for it. > However, if you have a faster shell which actually works (e.g. dash) you > can specify it via the CONFIG_SHELL environment variable prior to

Re: libtool optimization

2008-10-21 Thread Michel Briand
Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 21 Oct 2008 21:04:29 +0200 >Hi Michel, Bob, > >* Bob Friesenhahn wrote on Tue, Oct 21, 2008 at 05:26:58PM CEST: >> >> Current libtool still uses the shell that Autoconf chooses for it. >> However, if you have a faster shell which actually works (e.g. d

Re: libtool optimization

2008-10-21 Thread Bob Friesenhahn
On Wed, 22 Oct 2008, Michel Briand wrote: Honestly I wanted to do two optimizations. Firstly, I've tested /bin/dash and seen that it's much faster than /bin/bash on my normal sized project. ->> is it possible to choose the shell in autogen ? That way users do not have to bother to call configur

Re: problem when cross compiling with mingw32ce

2008-10-21 Thread Vincent Torri
Hey, Now I have a problem with libm.a. The ptch you provided is good for all the static lib i currently used, but recently i had to use libm.a (more precisely, it's libtool which adds -lm when c++ code is used). Here are some output: * arm-mingw32ce-objdump -f ~/local/opt/mingw32ce/arm-min