comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3
Date: Thu, 14 Aug 2014 00:19:32 -0700 (PDT)
Date: 2014-08-14T00:19:32-07:00	[thread overview]
Message-ID: <3261a000-e171-4e03-b3ec-af1bc5cad9d7@googlegroups.com> (raw)
In-Reply-To: <lsggnj$n1m$1@speranza.aioe.org>

On Wednesday, August 13, 2014 10:10:31 PM UTC+2, Victor Porton wrote:
 
>    package Linker is
> 
>       for Linker_Options use ("-lraptor2");
> 
>    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* and taken into account in all other projects that are imported directly or indirectly. 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 the main projects that depend upon this subsystem.

So, try to use Linker.Switches or Linker.Default_Switches instead of Linker.Linker_Options.





  parent reply	other threads:[~2014-08-14  7:19 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 17:50 Upgrading GNAT GPS 5.0 -> 5.3 Victor Porton
2014-08-13 19:17 ` Victor Porton
2014-08-13 19:28 ` Simon Wright
2014-08-13 19:33   ` Victor Porton
2014-08-13 19:41     ` Per Sandberg
2014-08-13 20:10       ` Victor Porton
2014-08-13 20:29         ` Björn Lundin
2014-08-13 20:36           ` Victor Porton
2014-08-13 22:36             ` Björn Lundin
2014-08-14 12:03               ` Victor Porton
2014-08-14  7:19         ` Egil H H [this message]
2014-08-14  7:32           ` Simon Wright
2014-08-14  8:00           ` Dmitry A. Kazakov
2014-08-14 12:14           ` Victor Porton
2014-08-14 12:18           ` Victor Porton
2014-08-14 15:56             ` Dmitry A. Kazakov
2014-08-14 15:59               ` Victor Porton
2014-08-14 16:09                 ` Dmitry A. Kazakov
2014-08-14 16:15                   ` Victor Porton
2014-08-14 16:49                     ` Simon Wright
2014-08-14 17:18                       ` Victor Porton
2014-08-14 17:22                     ` Dmitry A. Kazakov
2014-08-14 17:27                       ` Victor Porton
2014-08-14 17:32                         ` Simon Wright
2014-08-14 17:43                           ` Victor Porton
2014-08-14 20:03                             ` Dmitry A. Kazakov
2014-08-14 20:27                               ` Victor Porton
2014-08-15  7:00                                 ` Dmitry A. Kazakov
2014-08-15 12:06                                   ` porton.victor
2014-08-16 11:53                                   ` Stephen Leake
2014-08-15  6:36                               ` Simon Wright
2014-08-14 20:50                             ` Simon Wright
2014-08-15 12:07                               ` porton.victor
2014-08-16 11:55                                 ` Stephen Leake
2014-08-16 16:11                                 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox