[Top][All Lists]

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

bash versus printf -exported_symbol on OSF

From: Kevin Ryde
Subject: bash versus printf -exported_symbol on OSF
Date: Sun, 05 Jan 2003 09:15:39 +1000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu)

For cxx on "osf4* | osf5*", libtool uses

        printf "-exported_symbol "

as part of archive_expsym_cmds.  Unfortunately bash 2.05b objects to
this with

        printf: -e: invalid option

The bash doco doesn't mention any options for printf, but I suppose it
parses them in the usual way.  Unlike /usr/bin/printf on OSF, which is
happy just to print "-exported..."

Using "printf -- -exported_symbol " seems to work with both bash and
/usr/bin/printf.  Unless anyone knows better perhaps this would be a
good change.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]