[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to create only target shared library at place not ending in rpat
Re: How to create only target shared library at place not ending in rpath?
Tue, 2 Nov 2010 20:12:54 +0100
please don't top-post, thank you.
* Vitaly V. Ch wrote on Tue, Nov 02, 2010 at 09:52:41AM CET:
> On Mon, Nov 1, 2010 at 6:30 PM, Ralf Wildenhues wrote:
> > Would you like to avoid building both static and shared libraries?
> > Use --disable-static or --disable-shared at configure time.
> > Would you like to speed up 'make install'? Use the newest Automake
> > version, in case you're using a version older than 1.11 now.
> > Would you like to not install some of the shared libraries you build,
> > but still create them as shared rather than convenience archives?
> > Use noinst_LTLIBRARIES but also pass '-rpath /nowhere' or so in
> > libfoo_la_LDFLAGS.
> I have few tens of projects which I need install into few tens of
> sysroots. Currently it's to slow in following cases:
> 1) libtool --mode=link create shared objects which I newer use.
Why are they then created even? Can you disable their creation by some
--disable-* configure option or similar? If not, can you modify your
project to add such options?
> 2) each libtool --mode=install create same shared objects binaries for
> each sysroot.
Is this very slow? In absolute time, or compared to the rest of your
project overhead, and is the latter very low?