Re: libtool, c++ and SO_names
On Fri, Dec 07, 2001 at 06:50:37PM +0100, Michael Banck wrote:
> /bin/sh ../../../../bin/sc-libtool --mode=link g++ -o
> ../../../../lib/libSCkeyval.la ipv2.lo
>
> So it seems libtool uses g++ for linking, right?
No, that is the syntax for the libtool command line.
<quote>
Link mode
=========
"Link" mode links together object files (including library objects)
to form another library or to create an executable program.
MODE-ARGS consist of a command using the C compiler to create an
output file (with the `-o' flag) from several object files.
</quote>
So using g++ here is just part of the calling convention for libtool. Once
invoked, libtool will "do the right thing", which is not necessarily to run
g++.
--
- mdz
Reply to: