'--mode=MODE'. For example, the following are equivalent: $ libtool --mode=execute --dry-run gdb prog.exe $ libtool execute --dry-run gdb prog.exe $ libtool exe --dry-run gdb prog.exe $ libtool e --dry-run gdb prog.exe MODE must be set to one of the following: 'compile' Compile a source file into a libtool object. 'execute' Automatically set the library path so that another program can use uninstalled libtool-generated programs or libraries. 'link' Create a library or an executable. 'install' Install libraries or executables. 'finish' Complete the installation of libtool libraries on the system. 'uninstall' Delete installed libraries or executables. 'clean' Delete uninstalled libraries or executables. '--tag=TAG' Use configuration variables from tag TAG (*note Tags::). '--preserve-dup-deps' Do not remove duplicate dependencies in libraries. When building packages with static libraries, the libraries may depend circularly on each other (shared libs can too, but for those it doesn't matter), so there are situations, where -la -lb -la is required, and the second -la may not be stripped or the link will fail. In cases where these duplications are required, this option will preserve them, only stripping the libraries that libtool knows it can safely. '--quiet' '--silent' Do not print out any progress or informational messages. '-v' '--verbose' Print out progress and informational messages (enabled by default), as well as additional messages not ordinary seen by default. '--no-quiet' '--no-silent' Print out the progress and informational messages that are seen by default. This option has no effect on whether the additional messages seen in '--verbose' mode are shown. '--no-verbose' Do not print out any additional informational messages beyond those ordinarily seen by default. This option has no effect on whether the ordinary progress and informational messages enabled by '--no-quiet' are shown. Thus, there are now three different message levels (not counting '--debug'), depending on whether the normal messages and/or the additional verbose messages are displayed. Note that there is no mechanism to display verbose messages, without also displaying normal messages. *default* Normal messages are displayed, verbose messages are not displayed. In addition to being the default mode, it can be forcibly achieved by using both option '--no-verbose' and either option '--no-silent' or option '--no-quiet'. *silent* Neither normal messages nor verbose messages are displayed. This mode can be achieved using either option '--silent' or option '--quiet'. *verbose* Both normal messages and verbose messages are displayed. This mode can be achieved using either option '-v' or option '--verbose'. '--version' Print libtool version information and exit. The current 'libtool' implementation is done with a shell script that needs to be invoked by the shell that 'configure' chose for configuring 'libtool' (*note The Autoconf Manual: (autoconf)config.status Invocation.). This shell is set in the she-bang ('#!') line of the 'libtool' script. Using a different shell may cause undefined behavior. The MODE-ARGS are a variable number of arguments, depending on the selected operation mode. In general, each MODE-ARG is interpreted by programs libtool invokes, rather than libtool itself. * Menu: * Compile mode:: Creating library object files. * Link mode:: Generating executables and libraries. * Execute mode:: Debugging libtool-generated programs. * Install mode:: Making libraries and executables public. * Finish mode:: Completing a library installation. * Uninstall mode:: Removing installed executables and libraries. * Clean mode:: Removing uninstalled executables and libraries.