libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using HEAD, still CXX is not used to link C++ libs


From: Brett H. Williams
Subject: Using HEAD, still CXX is not used to link C++ libs
Date: Tue, 27 Aug 2002 14:20:37 -0600
User-agent: Mutt/1.4i

I have been using libtool on i686-gnu-linux and HPUX 11.0 for C++ programs.
With the addition of a few hacks (use CXX to link for both platforms, numerous
tweaks for HPUX) to the generated libtool, it has been working ok for simple
things.

Hearing recently on the list that C++ will be officially supported soon by
libtool, I checked out HEAD to see how the progress was coming.  I took out my
m4 macros that hack libtool,  and I discover that CC is _still_ being used to
link shared libraries:

gcc -shared .libs/libblockmanager.la-2.o   -Wl,-soname -Wl,libblockmanager.so.0
-o .libs/libblockmanager.so.0.0.0

Is there something I need to do to turn on C++ support?  Or is C++ support
still unofficial/broken?  Have I done something stupid?

I apologize if this question is inappropriate for this list (if it is, please
indicate where it should be asked).

I'm using libtool with autoconf/automake, with AC_LANG(C++):

cs128:i686/debug> autoconf --version
autoconf (GNU Autoconf) 2.52
cs128:i686/debug> ./libtool --version
ltmain.sh (GNU libtool) 1.4e (1.1128 2002/07/31 20:31:13)
cs128:i686/debug> automake --version
automake (GNU automake) 1.6.3

-- 

Brett H. Williams




reply via email to

[Prev in Thread] Current Thread [Next in Thread]