This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libtool - how to find/make it ?


On Sep 30, 2001, Toon Moene <toon@moene.indiv.nluug.nl> wrote:

>> Hmm...  I see each subdirectory of libf2c has its own configure
>> script,

> Well, I don't think this is the problem - libf2c/Makefile.in isn't under
> automake at all, presently.

This has nothing to do with automake.

> Perhaps I can just ask the questions I want to know an answer to,
> instead of you having to guess where I'm heading :-):

:-)

> 1. Assuming libtool is not something installed on the system GCC is
>    built on - where does libstdc++-3 get it from ?

libtool is always built in the build tree, regardless of whether it's
installed on the build system.  A[MC]_PROG_LIBTOOL is what creates the
libtool script in the top build directory of the library that uses it,
sets the LIBTOOL variable to point to that script and AC_SUBSTs it,
assuming that Makefiles that run $(LIBTOOL) have lines such as:

LIBTOOL = @LIBTOOL@

Using automake will get you the $(LIBTOOL) rules and definitions
automatically in the Makefiles, but it's not necessary to use automake
to use libtool.

I hope this answer obviates answers for the other two questions.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]