tech-pkg archive

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

Re: Slow build times on Mac OS X



> On Thu, Apr 23, 2009 at 09:32:46PM +0300, Aleksey Cheusov wrote:
 >> 
 >> > Also, it might be worthwhile to investigate other options such as
 >> > shells/mksh, wip/dash or even statically linked bash.
 >> 
 >> libtool is broken with wip/dash.

> It is more that dash is broken.
???

> Why import something that is known to be bad?
dash is neither broken nor bad.
Standard 'echo' is broken and obsolescent.

http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html

   OPERANDS

   The following operands shall be supported:

   string

   A string to be written to standard output. If the first operand is -n,
-} or IF ANY OF THE OPERANDS CONTAIN A BACKSLASH ( '\' ) CHARACTER, THE
   RESULTS ARE IMPLEMENTATION-DEFINED.

   [XSI]  On XSI-conformant systems, if the first operand is -n, it
   shall be treated as a string, not an option. The following character
   sequences shall be recognized on XSI-conformant systems within any of
   the arguments:
   ....
-} \0num
   Write an 8-bit value that is the zero, one, two, or three-digit
   octal number num.

Compare \0num with \100 test from bootstrap/bootstrap script and
with libtool code. libtool is actually broken. dash is good.

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index