Bug#325387: libtool: some options available in documentation are not usable under AMD64
On Tue, Sep 20, 2005 at 09:30:21PM +0200, Kurt Roeckx wrote:
> I do not see the static option you mention in libtool's --help
> nor in any documentation. I have no idea where your question
> comes from.
Maybe I should clarify myself, of course it has those options.
And it's show them by:
libtool --help --mode=link
Those options are only available when linking (--mode=link).
And it seems to work for me as expected.
Note that those options are part of LINK-COMMAND, and not part of
the normal option.
Usage: libtool [OPTION]... --mode=link LINK-COMMAND...
The following components of LINK-COMMAND are treated specially:
-all-static do not do any dynamic linking at all
So something like "libtool --mode=link gcc -all-static ..." works
as it should. But "libtool --mode=link -all-static gcc ..." does
not and maybe it should.