[OpenAFS-devel] Why I like libtool

Jim Rees rees@umich.edu
Fri, 13 May 2005 12:24:52 -0400


Then I guess I'm confused.  I thought you needed libtool at compile time,
and that libtool ran the compiler itself.  That's what it says in the
manual:

  To create library object files for foo.c and hello.c, simply invoke libtool
  with the standard compilation command as arguments (see Compile mode):

     a23$ libtool --mode=compile gcc -g -O -c foo.c
     gcc -g -O -c foo.c
     echo timestamp > foo.lo
     a23$ libtool --mode=compile gcc -g -O -c hello.c
     gcc -g -O -c hello.c
     echo timestamp > hello.lo
     a23$