bug-libtool
[Top][All Lists]
Advanced

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

Re: bug in libtool?


From: Gary V. Vaughan
Subject: Re: bug in libtool?
Date: Thu, 6 Sep 2001 22:12:44 +0100
User-agent: Mutt/1.3.21i

On Thu, Sep 06, 2001 at 09:47:54PM +0200, richard lucassen wrote:
> 
> libtool --only-static --mode=compile gcc blahblah...

libtool --mode=compile -static gcc blahblah...

> Try `libtool --help' for more information about other modes.

...
MODE must be one of the following:

      clean           remove files from the build directory
      compile         compile a source file into a libtool object
      execute         automatically set library path, then run a program
      finish          complete the installation of libtool libraries
      install         install libraries or executables
      link            create a library or an executable
      uninstall       remove libraries from an installed directory

MODE-ARGS vary depending on the MODE.  Try `libtool --help --mode=MODE' for
a more detailed description of MODE.

> I tried the newest libtool-1.4, but it's the same story. Is this a bug?

Nup.  You need to set the mode before the mode options:

 $ libtool --mode=link --help
 Usage: libtool [OPTION]... --mode=link LINK-COMMAND...

  ...
  LINK-COMMAND is a command using the C compiler that you would use to create
  a program from several object files.

  The following components of LINK-COMMAND are treated specially:

  -all-static       do not do any dynamic linking at all
  ...
  -static           do not do any dynamic linking of libtool libraries
  ...

> Richard.

HTH,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

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