libtool
[Top][All Lists]
Advanced

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

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


From: Boehne, Robert
Subject: RE: Using HEAD, still CXX is not used to link C++ libs
Date: Tue, 27 Aug 2002 16:37:37 -0400

When the tag is CXX, CC = `your favorite C++ compiler, aka $CXX`
Make sure your project actually has the latest libtool in it,
and instead of hacking the generated libtool, submit a pach
to libtool.m4 that supports your compiler.  It is easier in the
long run.

HTH,

Robert

-----Original Message-----
From: Brett H. Williams [mailto:address@hidden]
Sent: Tuesday, August 27, 2002 3:21 PM
To: Libtool mailing list
Cc: Keith Richling; Craig Files
Subject: Using HEAD, still CXX is not used to link C++ libs


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


_______________________________________________
Libtool mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool


reply via email to

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