ranlib 2.21.51.20110317 doesn't work with "-t" option. For example, $ ./ranlib -t ./ranlib: '-t': No such file $ ./ranlib -t dummy.a ./ranlib: '-t': No such file This seems to be regression, which was introduced in src/binutils/ar.c revision 1.70
CVSROOT: /cvs/src Module name: src Changes by: amodra@sourceware.org 2011-03-17 12:56:36 Modified files: binutils : ChangeLog ar.c Log message: PR 12590 * ar.c (ranlib_main): Init arg_index properly. (usage): Describe --target. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1753&r2=1.1754 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ar.c.diff?cvsroot=src&r1=1.72&r2=1.73
Fixed. Rev 1.70 was not applied to the branch.