Re: Dash as default shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 02/10/2014 11:04, Zdenek Kabelac ha scritto:
> It used to give significant boost for automake & libtool based software
> - however at some point libtool started to use bashisms and so you
> cannot just replace  /bin/sh -> dash - as build will fail.

This is wrong.

libtool detects whether you can use bashisms, and falls back to POSIX
shell constructs if it cannot use them.  The non-POSIX constructs are
usually faster because they do not need to fork() the shell.  Autoconf
does the same.  dash rejects some of these constructs, and accept others.

Before Autoconf started doing this, dash was indeed quite a bit faster
than bash on configure scripts.  So your estimate of 50% is valid for
projects on which Autoconf has last been run 7-8 years ago.

Paolo
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux