From: Simon Wright <simon@pushface.org>
Subject: Re: gprbuild and Linker_Options bug?
Date: Tue, 01 Apr 2014 08:41:04 +0100
Date: 2014-04-01T08:41:04+01:00 [thread overview]
Message-ID: <ly1txhsdin.fsf@pushface.org> (raw)
In-Reply-To: lhcta0$pfj$1@speranza.aioe.org
Qun-Ying <zhu.qunying@gmail.com> writes:
> Where it fails to use the Linker_Options defined in the project file.
> But "gnatmake -P a" will build the program without problem.
>
> Is this a known problem? Or something I have missed?
I think it's a feature.
The gprbuild manual[1] says that the Linker_Options "[v]alue is a list
of switches/options that are to be added when linking an executable from
a project importing the current project directly or indirectly.
Linker_Options are not used when linking an executable from the current
project."
And gprbuild & gnatmake have subtly different rules and capabilities.
[1] http://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html
prev parent reply other threads:[~2014-04-01 7:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 23:21 gprbuild and Linker_Options bug? Qun-Ying
2014-03-31 23:38 ` Qun-Ying
2014-04-01 7:41 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox