From: Victor Porton <porton@narod.ru>
Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3
Date: Thu, 14 Aug 2014 23:27:58 +0300
Date: 2014-08-14T23:27:58+03:00 [thread overview]
Message-ID: <lsj64f$to5$1@speranza.aioe.org> (raw)
In-Reply-To: 1a49ajoy5da58$.1b780oq834ue3.dlg@40tude.net
Dmitry A. Kazakov wrote:
> On Thu, 14 Aug 2014 20:43:02 +0300, Victor Porton wrote:
>
>> Simon Wright wrote:
>>
>>> Victor Porton <porton@narod.ru> writes:
>>>
>>>> Dmitry A. Kazakov wrote:
>>>
>>>>> If there is any bugs then in gprbuild. Try to build your project
>>>>> manually:
>>>>>
>>>>> gnatmake -P<project>.gpr
>>>>
>>>> $ gnatmake -Ptest.gpr
>>>> test.gpr:10:04: no value defined for "runtime"
>>>> test.gpr:10:30: warning: undefined external reference
>>>> test.gpr:13:04: no value defined for "mode"
>>>> test.gpr:13:36: warning: undefined external reference
>>>> librdf.gpr:11:25: warning: undefined external reference
>>>> librdf.gpr:12:28: warning: undefined external reference
>>>> librdf.gpr:15:04: no value defined for "runtime"
>>>> librdf.gpr:15:30: warning: undefined external reference
>>>> librdf.gpr:16:04: no value defined for "mode"
>>>> librdf.gpr:16:36: warning: undefined external reference
>>>> gnatmake: "test.gpr" processing failed
>>>
>>> You need to define the scenario variables runtime & mode:
>>>
>>> $ gnatmake -Ptest.gpr -Xruntime=... -Xmode=...
>>
>> $ gnatmake -Ptest.gpr -Xruntime=full -Xmode=checks
>> test.gpr:10:04: no value defined for "runtime"
>
> I believe it is case-sensitive:
>
> gnatmake -Ptest.gpr -XRUNTIME=full -XMODE=...
gnatmake -Ptest.gpr -XRUNTIME=full -XMODE=Install
works.
> BTW, you can set a default value, e.g.:
>
> Runtime : Runtime_Type := external ("RUNTIME", "default");
>
> And since the library project Librdf has:
>
> for Linker_Options use ("-lraptor2");
>
> (why is it Librdf and not LibRaptor?)
There are three libraries in librdf.org:
Raptor
Rasqal
RDF
> You do not need to repeat that in the project Test. Especially because
> Linker_Options won't have no effect there, anyway.
>
> The only thing you need in a test project is
>
> for Main use ("run_all_tests.adb");
>
> anything else is just not needed.
>
> P.S. If you are going to package the stuff, you would have to generate
> project files for each target individually because Linux distributions
> have their own unique policies regarding project files, directories etc.
> You won't be able to have one project file for all.
Have you notices my Makefile.am?
--
Victor Porton - http://portonvictor.org
next prev parent reply other threads:[~2014-08-14 20:27 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
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 [this message]
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