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 ?


Alexandre Oliva wrote

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

> > Is there a libtool doctor in audience who can explain to me what to do
> > if I want to use libtool when just building C and Fortran ?

> AM_PROG_LIBTOOL should be enough to get the libtool script created in
> the build tree of the package.
> 
> You may want to add the following bit of magic to a newly-created
> libf2c/aclocal.m4 to avoid having to copy libtool.m4 to
> libf2c/aclocal.m4:
> 
> sinclude(../libtool.m4)
> dnl The lines below arrange for aclocal not to bring an installed
> dnl libtool.m4 into aclocal.m4, while still arranging for automake to
> dnl add a definition of LIBTOOL to Makefile.in.
> ifelse(,,,[AC_SUBST(LIBTOOL)
> AC_DEFUN([AM_PROG_LIBTOOL])
> ])

Hmmm, thanks for the idea, but it didn't work out.

This is what I get when bootstrapping:

make[2]: Entering directory
`/home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libf2c'
cd libI77; make CC='/home/toon/compilers/snapshots/obj/gcc/xgcc
-B/home/toon/compilers/snapshots/obj/gcc/
-B/usr/snp/i686-pc-linux-gnu/bin/ -B/usr/snp/i686-pc-linux-gnu/lib/
-isystem /usr/snp/i686-pc-linux-gnu/include' LIBTOOL='@LIBTOOL@'
CFLAGS='-g -O2' CPPFLAGS='' RANLIB='ranlib' prefix='/usr/snp'
exec_prefix='/usr/snp' libdir='/usr/snp/lib'
libsubdir='/usr/snp/lib/gcc-lib/i686-pc-linux-gnu/3.1'
tooldir='/usr/snp/i686-pc-linux-gnu' all
make[3]: Entering directory
`/home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libf2c/libI77'
make[3]: LIBTOOL@: Command not found

So, obviously, some kind of substitution doesn't take place.

Do you have any suggestion, Alexandre ?

Thanks in advance,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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