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.182.66.68 with SMTP id d4mr1544002obt.39.1408000772542; Thu, 14 Aug 2014 00:19:32 -0700 (PDT) X-Received: by 10.140.25.162 with SMTP id 31mr12408qgt.9.1408000772514; Thu, 14 Aug 2014 00:19:32 -0700 (PDT) Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!h18no12918817igc.0!news-out.google.com!b3ni24360qac.1!nntp.google.com!j15no6992854qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 14 Aug 2014 00:19:32 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.71.180.114; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 193.71.180.114 References: <53ebbf4c$0$32613$862e30e2@ngroups.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3261a000-e171-4e03-b3ec-af1bc5cad9d7@googlegroups.com> Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3 From: Egil H H Injection-Date: Thu, 14 Aug 2014 07:19:32 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:188473 Date: 2014-08-14T00:19:32-07:00 List-Id: On Wednesday, August 13, 2014 10:10:31 PM UTC+2, Victor Porton wrote: =20 > package Linker is >=20 > for Linker_Options use ("-lraptor2"); >=20 > end Linker; > >From the GPRbuild User's Guide (emphasis mine): Linker.Linker_Options: This attribute specifies additional switches to be given to the linker when= linking an executable. *It*is*ignored*when*defined*in*the*main*project* an= d taken into account in all other projects that are imported directly or in= directly. These switches complement the Linker.Switches defined in the main= project. This is useful when a particular subsystem depends on an external= library: adding this dependency as a Linker_Options in the project of the = subsystem is more convenient than adding it to all the Linker.Switches of t= he main projects that depend upon this subsystem. So, try to use Linker.Switches or Linker.Default_Switches instead of Linker= .Linker_Options.