comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Specifying an `--RTS` option in a GPR file, for a runtime library
Date: Mon, 15 Apr 2013 15:27:00 +0200
Date: 2013-04-15T15:27:00+02:00	[thread overview]
Message-ID: <op.wvk3nan1ule2fv@cardamome> (raw)
In-Reply-To: op.wvjqwuofule2fv@cardamome

Le Sun, 14 Apr 2013 21:54:20 +0200, Yannick Duchêne (Hibou57)  
<yannick_duchene@yahoo.fr> a écrit:
>
> I can't understand what's wrong, according to
> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gnat_ugn_unw/Switches-for-gnatmake.html
> it should works as follow:
>
> (documentations says)
>> --RTS=rts-path
>> Specifies the default location of the runtime library.GNAT looks for  
>> the runtime in the following directories,and stops as soon as a valid  
>> runtime is found (adaincludeor ada_source_path, and adalib or  
>> ada_object_path present):
>>
>>        <current directory>/$rts_path
>>        <default-search-dir>/$rts_path
>>        <default-search-dir>/rts-$rts_path

There's something else on the same topic:

http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gnat_ugn_unw/Switches-and-Project-Files.html
(documentation says)
> When using gnatmake with project files, some switches or argumentsmay be  
> expressed as relative paths. As the working directory wherecompilation  
> occurs may change, these relative paths are convertedto absolute paths.  
> For the switches found in a project file, therelative paths are relative  
> to the project file directory, for theswitches on the command line, they  
> are relative to the directorywhere gnatmake is invoked. The switches for  
> which this occurs are:-I, -A, -L, -aO, -aL, -aI, as well as all  
> arguments that are notswitches (arguments to switch -o, object files  
> specified inpackage Linker or after -largs on the command line). The  
> exceptionto this rule is the switch –RTS= for which a relative path  
> argumentis never converted.

So there is finally an exception with the `--RTS` option. But that  
document talks about GNATMake, not GPRBuild. Also, it says nothing about  
the same option in a project file.

(still searching for more material)

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University

  parent reply	other threads:[~2013-04-15 13:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 19:54 Specifying an `--RTS` option in a GPR file, for a runtime library Yannick Duchêne (Hibou57)
2013-04-14 20:07 ` Yannick Duchêne (Hibou57)
2013-04-14 20:36   ` Yannick Duchêne (Hibou57)
2013-04-15  8:19   ` Brian Drummond
2013-04-15 11:22     ` Yannick Duchêne (Hibou57)
2013-04-15 22:28       ` Yannick Duchêne (Hibou57)
2013-04-17 11:43       ` Brian Drummond
2013-04-18 22:10         ` Yannick Duchêne (Hibou57)
2013-04-15 13:27 ` Yannick Duchêne (Hibou57) [this message]
2013-04-15 13:29   ` Yannick Duchêne (Hibou57)
2013-04-23  1:26 ` Yannick Duchêne (Hibou57)
2013-04-23 17:22   ` Yannick Duchêne (Hibou57)
replies disabled

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