comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to best organize and build large projects?
Date: Mon, 21 Sep 2015 23:52:07 +0200
Date: 2015-09-21T23:52:07+02:00	[thread overview]
Message-ID: <134degi2mdz2b.9pzcqf0bzco8$.dlg@40tude.net> (raw)
In-Reply-To: lya8sf8ng1.fsf@pushface.org

On Mon, 21 Sep 2015 22:36:14 +0100, Simon Wright wrote:

> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> 
>> On Mon, 21 Sep 2015 16:19:05 +0100, Simon Wright wrote:
>>
>>> NB
>>> gnatmake will lose the ability to build libraries after the next
>>> release.
>>
>> Not a big loss, maybe. When building a static library one forced to
>> use "ar" anyway. There seem no obvious way to force "--whole-archive"
>> on the end project.
> 
> I don't understand what --whole-archive has to do with ar - it's an ld
> option.

If you have many subcomponents built as static libraries, you want to
collect all them into a single library. The only way to do this, I know, is
to build the library, unpack the result and all component's libraries and
then pack all object files again into a new library.

> And I usually use static libraries, don't see any benefit from using
> share libraries on my own machine.

It has, if you build a Windows DLL. Linux relocatable libraries are of less
use.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

      reply	other threads:[~2015-09-21 21:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20 16:42 How to best organize and build large projects? John Smith
2015-09-20 18:42 ` gautier_niouzes
2015-09-20 18:58 ` David Botton
2015-09-20 19:45 ` Dmitry A. Kazakov
2015-09-22 18:02   ` John Smith
2015-09-21 10:31 ` Georg Bauhaus
2015-09-21 12:03 ` Lucas Redding
2015-09-21 15:19   ` Simon Wright
2015-09-21 15:28     ` David Botton
2015-09-21 16:38       ` Simon Wright
2015-09-21 16:50         ` David Botton
2015-09-21 16:52       ` Dmitry A. Kazakov
2015-09-21 17:17       ` Shark8
2015-09-21 16:59     ` Dmitry A. Kazakov
2015-09-21 21:36       ` Simon Wright
2015-09-21 21:52         ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox