[Top][All Lists]
[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
From: |
Vitaly V. Ch |
Subject: |
Re: How to create only target shared library at place not ending in rpath? |
Date: |
Wed, 3 Nov 2010 10:16:01 +0200 |
On Tue, Nov 2, 2010 at 9:12 PM, Ralf Wildenhues <address@hidden> wrote:
> Hello Vitaly,
>
> 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?
They created as intermediate state before "libtool --mode=install". As
far as I understand libtool "libtool --mode=link" is required step
before install, but create non-used shared object.
>
>> 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?
That time is about 5 minutes per sysroot. It's too slow for precompiled tree.
>
> Cheers,
> Ralf
\\wbr Vitaly Chernooky
--
\\wbr Vitaly