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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable 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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to best organize and build large projects? Date: Mon, 21 Sep 2015 22:36:14 +0100 Organization: A noiseless patient Spider Message-ID: References: <428ab038-94ac-4549-ae3b-0b06f4fb80a8@googlegroups.com> <1quy1i9sqvwge.1i60zlfgijr6w.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="90a04fd2ec31e3fef462e17581f28739"; logging-data="16469"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/br+zpJDtCDPCMXDIRVTbXT0RekoRpNBs=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:0BuOmsUBVZwLjqk7JOSllnCLZg4= sha1:9CAgqTLcc4KJLCkLwsZ0o6u27k4= Xref: news.eternal-september.org comp.lang.ada:27811 Date: 2015-09-21T22:36:14+01:00 List-Id: "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. And I usually use static libraries, don't see any benefit from using share libraries on my own machine. gprbuild works perfectly well. Especially with my patch to produce "stand-alone" static libraries, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56616.