[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool and IRIX 6.5 and C++
From: |
Steve M. Robbins |
Subject: |
Re: libtool and IRIX 6.5 and C++ |
Date: |
Tue, 7 Aug 2001 09:26:48 -0400 |
User-agent: |
Mutt/1.3.20i |
On Tue, Aug 07, 2001 at 04:15:52AM +0100, Gary V. Vaughan wrote:
> Does the attached patch work for you?
Sadly, no.
For completeness, here is the configure.ac input:
AC_INIT(foo.cc)
AM_INIT_AUTOMAKE(test,1.1)
AC_PROG_CXX
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
After all the auto-* magic, I end up with a libtool script that
does not work. As I said, the variable with_gcc is not being
set correctly (it should be "no").
address@hidden with_gcc libtool
with_gcc=
case $with_gcc/$host in
with_gcc=no
with_gcc=
Note that it is the first assignment to with_gcc that is used in the
actual script. I'm not sure what the other two are used for. After
applying the patch you sent, rebuilding libtool, and re-running
aclocal && autoconf && ./configure, I get
address@hidden with_gcc libtool
with_gcc=
case $with_gcc/$host in
with_gcc=no
with_gcc=no
So it changed the final setting of with_gcc, but not the one
that counts :-(
Cheers,
-Steve
> On Tuesday 07 August 2001 3:50 am, Steve M. Robbins wrote:
> > Hi,
> >
> > I'm having trouble with libtool under IRIX 6.5 while using the vendor
> > C++ compiler,
> >
> > I need libtool to pass along "-LANG:std" during both compiling and
> > linking. The logic that would do that looks like:
> >
> > # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
> > # so, if we see these flags be careful not to treat them like -L
> > -L[A-Z][A-Z]*:*)
> > case $with_gcc/$host in
> > no/*-*-irix*)
> >
> > Unfortunately, the generated libtool sets with_gcc to the empty
> > string, and this is never triggered :-/
> >
> > This is with the CVS libtool, as of this afternoon.
> >
> > -Steve
--
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants