This is the mail archive of the
mailing list for the GCC project.
Re: libtool version
- From: "Timothy J. Wood" <tjw at omnigroup dot com>
- To: Stan Shebs <shebs at apple dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Sun, 19 May 2002 18:50:53 -0700
- Subject: Re: libtool version
On Sunday, May 19, 2002, at 06:22 PM, Stan Shebs wrote:
> "Timothy J. Wood" wrote:
>> Ah crud. Nevermind -- the offending shell code is in libtool 1.4.x
>> too. I just didn't see it since it gets generated by libtool.m4 and
>> some quoting crud.
>> Guess I'll either have to fix the quoting or determine that Mac OS
>> /bin/sh is busted.
> Are you using zsh or bash? bash would probably work better.
Well, the libtool script starts with '#!/bin/sh', and is executed as
'./libtool' instead of '$SHELL libtool', so I'm guessing /bin/sh is what
Either way, I tried running a trimmed down fragment in a freshly built
bash and it yaked too.
% ./bash --version
GNU bash, version 2.05a.0(1)-release (powerpc-apple-darwin5.4)
Copyright 2001 Free Software Foundation, Inc.
% cat /tmp/foo.sh
archive_expsym_cmds="if test \\"x\\`head -1 nofile\\`\\" = xEXPORTS;
% ./bash /tmp/foo.sh
/tmp/foo.sh: command substitution: line 3: syntax error: unexpected end