D.Walsh wrote:
Peter, are you trying to tell me that the "libtool" supplied and
installed in Mac OSX is not the "GNU libtool"?
Yes, I am, in a way. Apple ships GNU libtool as /usr/bin/glibtool, and
has a completely different program as /usr/bin/libtool. Let me
demonstrate:
peter% /usr/bin/libtool --version
/usr/bin/libtool: unknown option character `-' in: --version
Usage: /usr/bin/libtool -static [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-seg_addr_table_filename
<file_system_path>] [-all_load] [-noall_load]
peter% what /usr/bin/libtool
/usr/bin/libtool
PROGRAM:cctools_misc PROJECT:cctools-525 DEVELOPER:root
BUILT:Thu Jul 15 17:35:13 PDT 2004
peter% file /usr/bin/libtool
/usr/bin/libtool: Mach-O executable ppc
And then:
peter% /usr/bin/glibtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
peter% what /usr/bin/glibtool
/usr/bin/glibtool
peter% file /usr/bin/glibtool
/usr/bin/glibtool: Bourne shell script text executable
Apple documentation claims that it is.
Where? They may have a documentation bug.
Peter