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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.154.83 with SMTP id c80mr5759797ioe.66.1518689192629; Thu, 15 Feb 2018 02:06:32 -0800 (PST) X-Received: by 10.157.95.135 with SMTP id g7mr73829oti.14.1518689192511; Thu, 15 Feb 2018 02:06:32 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feed.usenet.farm!feeder3.usenet.farm!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!o66no113273ita.0!news-out.google.com!m16ni499itm.0!nntp.google.com!w142no112492ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Feb 2018 02:06:32 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <981893565.540207668.848900.laguest-archeia.com@nntp.aioe.org> <101626dd-bbd5-4e10-a383-3c5e29d4bc88@googlegroups.com> <1663297707.540284845.822306.laguest-archeia.com@nntp.aioe.org> <301425720.540294866.314644.laguest-archeia.com@nntp.aioe.org> <836a0b01-419e-4b53-a15c-75bc7d41b462@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Exporting linker options from library GPR From: Lucretia Injection-Date: Thu, 15 Feb 2018 10:06:32 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:50451 Date: 2018-02-15T02:06:32-08:00 List-Id: On Thursday, 15 February 2018 08:49:44 UTC, Simon Wright wrote: > Lucretia writes: > | > Do you think we should raise an issue on github for this discussion? (to > take it off the group) That would see less people looking at it. > > I have it building on Mac OS X as a static lib, but the options are > > controlled from the makefile. > > When I built it as a dynamic library, I got (with some builds) an ACCVIO > during elaboration, which I took to be down to failing to initialize > libsdlada.dylib (it's not built as an SAL). What is ACCVIO and SAL? > > So, before I push the changes, can anyone tell me if this is possible? > > As a possible alternative, the attached makefile fragment works out > whether you're on Darwin or not, so you could decide in the makefile how > to get the options & then pass them through to the gpr. TBH, putting this stuff in the gpr is better.