Hi Alexandre,

On Fri, Sep 15, 2000 at 06:58:02PM -0300, Alexandre Oliva wrote:
> On Sep 15, 2000, Robert Boehne <[EMAIL PROTECTED]> wrote:
> 
> > %  ../../libtool --tag=CXX --config | grep '^CC=' | tail -1
> > CC="cc"
> 
> That's the problem.  It should be 'g++', in the CXX configuration.
> Remove the `tail -1' and make sure you get two lines, one for the
> default configuration and one overrider for CXX.
> 
> Then go figure why ltconfig got the wrong value when creating the CXX
> configuration.  Search for `TAG CONFIG: CXX' to see the configuration
> variables passed to ltconfig.  Also check what version of libtool
> you're using.

Robert sent me his generated libtool script.  Part of the CXX
configuration is listed below.  It appears that ltconfig wasn't
invoked properly.  The C++ compiler was not set when configuring the
C++ tagged configuration.

### BEGIN LIBTOOL TAG CONFIG: CXX
# Libtool was configured as follows, on host boreas:
#
# AR="" AR_FLAGS="" LTCC="gcc" CC="" \
# CFLAGS="" CPPFLAGS="" \
# MAGIC="" LD="" LDFLAGS="" LIBS="" \
# LN_S="ln -s" NM="/bin/nm -B" RANLIB="ranlib" STRIP="strip" \
# AS="" DLLTOOL="" OBJDUMP="" \
# objext="" exeext="" reload_flag=" -r" \
# deplibs_check_method="pass_all" \
# file_magic_cmd="\${MAGIC}" \
#   make/ltconfig -o libtool --cache-file=/dev/null --with-gcc
--build=powerpc-ibm-aix4.3.3.0 --add-tag=CXX make/ltcf-cxx.sh
powerpc-ibm-aix4.3.3.0
#


BTW, Robert thanks so much for working on the AIX port!  I've been
aching to get that port completed but since I don't have access to an
AIX box I've been waiting for someone to come along to help out.  :-)

-Ossama
-- 
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8

Reply via email to