From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Build order with gprbuild Date: Tue, 28 Feb 2023 23:07:48 +0100 Organization: A noiseless patient Spider Message-ID: References: <2bee0de5-2d5c-44a7-bdab-a1d266855c96n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 28 Feb 2023 22:07:46 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="ee8d48139d9b44d4b00b811cf69b461e"; logging-data="3743987"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+D/gtaRJK0xwrkTq5wQoO8T52wXCL0dzk=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Cancel-Lock: sha1:siv1/GdJ22cxdpCV0zNCg8Ndn4w= Content-Language: en-US In-Reply-To: <2bee0de5-2d5c-44a7-bdab-a1d266855c96n@googlegroups.com> Xref: reader01.eternal-september.org comp.lang.ada:64990 List-Id: On 2023-02-28 22:10, Gautier write-only address wrote: > When a GNAT project A depends on project B, is there a simple (*) way to make gprbuild build project B before starting the build of A? But this is exactly how it works unless B builds a library. I have a large number of interdependent projects and everything is built automatically as necessary. When it comes to a release, I generate the corresponding library building projects from a script. Another reason not to use libraries during the development phase is that addr2line does not work with dynamic libraries. You must catch exception in the program and find where addresses belong to. This cannot be done when the program is no more running. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de