From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3
Date: Thu, 14 Aug 2014 10:00:07 +0200
Date: 2014-08-14T10:00:07+02:00 [thread overview]
Message-ID: <1ec0vrk10bxys.1si81pe78ipdl$.dlg@40tude.net> (raw)
In-Reply-To: 3261a000-e171-4e03-b3ec-af1bc5cad9d7@googlegroups.com
On Thu, 14 Aug 2014 00:19:32 -0700 (PDT), 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;
>>
> So, try to use Linker.Switches or Linker.Default_Switches instead of Linker.Linker_Options.
No. Libraries should not be specified with Default_Switches unless in small
self-contained projects.
Since it is bindings, its project (the library project to be used by
clients) must have Linker_Options in its package Linker.
A test project, which is a client, must "with" the library project. The
linker switches will be adjusted to link to -lraptor2 as necessary.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2014-08-14 8:00 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 [this message]
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