From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: How to best organize and build large projects? Date: Mon, 21 Sep 2015 23:52:07 +0200 Organization: cbb software GmbH Message-ID: <134degi2mdz2b.9pzcqf0bzco8$.dlg@40tude.net> References: <428ab038-94ac-4549-ae3b-0b06f4fb80a8@googlegroups.com> <1quy1i9sqvwge.1i60zlfgijr6w.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dZFZMi8Yw0yXeelTniGFpQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:27812 Date: 2015-09-21T23:52:07+02:00 List-Id: On Mon, 21 Sep 2015 22:36:14 +0100, Simon Wright wrote: > "Dmitry A. Kazakov" 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