From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3
Date: Thu, 14 Aug 2014 17:56:43 +0200
Date: 2014-08-14T17:56:43+02:00 [thread overview]
Message-ID: <68fn1tyynoal.1la5dyi9o49z9$.dlg@40tude.net> (raw)
In-Reply-To: lsi9f7$kr7$1@speranza.aioe.org
On Thu, 14 Aug 2014 15:18:49 +0300, Victor Porton wrote:
> Egil H H wrote:
>
>> 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.
>
> I don't understand.
>
> Does this mean that it's impossible to link a library to the main project?!
It means that the option is intended for library projects not for the
client projects.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2014-08-14 15:56 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
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 [this message]
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