This is the mail archive of the 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]
Other format: [Raw text]

Re: libtool for shared objects?

Roberto Bagnara wrote:
But I'm not sure to understand the relation between libtool & $(LIBTOOL) (ie @libtool@)

I will tell you what (I think) is the relation in projects using Autoconf, Automake and Libtool.

@LIBTOOL@ is a placeholder that stands for the Libtool main script.
In the files, you will find lines of the form


Thanks for the hint. Apparently, this line is not enough alone. Besides, the set of autoconf/automake/libtool version is not the same in gcc/ subdirectory and in others. I remember having read there is some issue but I don't remember which one. The gcc/ subdir is a strange untamed beast. And other sub-directories using libtool (like libmudflap/) have both a and a (automake generated?) - it seems that the gcc/ subdirectory don't use automake (yet?).

So I tried to add to gcc/ the following lines (which exist in libmudflap/


and it does not work:

(cd /usr/src/Lang/basile-melt-gcc/gcc && autoconf) error: possibly undefined macro: AC_LIBTOOL_DLOPEN
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation. error: possibly undefined macro: AM_PROG_LIBTOOL
(cd /usr/src/Lang/basile-melt-gcc/gcc && autoheader)

email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

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