comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: How to supply O/S linker arguments with gprbuild?
Date: Mon, 22 Jun 2020 12:30:05 -0400	[thread overview]
Message-ID: <54m1fflgcv5ejjs5tnlnm8982joqt798rr@4ax.com> (raw)
In-Reply-To: 3f234cce-c49f-40a4-83a4-f0c9860d8abfo@googlegroups.com

On Mon, 22 Jun 2020 08:51:48 -0700 (PDT), Warren <ve3wwg@gmail.com>
declaimed the following:

>
>I've tried a variety of gpr things, but unsuccessfully. 
>

	I've not used gprbuild (my personal experiments work with gnatmake, and
my pre-retirement life either didn't use GNAT or wrapped some department
specific build system around it)

	Based upon
https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/building_with_gprbuild.html
you should have the option of putting them on the command line invoking
gprbuild
"""
-largs

The arguments that follow up to the next command line separator are options
for the linker, when linking an executable.
"""

	Suspect it still requires something on the command line (to define
environment) but...
https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html#package-linker-attributes
in conjunction with
https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html#case-constructions
may be applicable -- and, at least, reduces the amount of command line
entry needed.


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

  parent reply	other threads:[~2020-06-22 16:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 15:51 How to supply O/S linker arguments with gprbuild? Warren
2020-06-22 16:14 ` Mark Lorenzen
2020-06-22 16:30 ` Dennis Lee Bieber [this message]
2020-06-22 16:39 ` Dmitry A. Kazakov
2020-06-22 17:52   ` Warren
2020-06-22 20:07     ` Dmitry A. Kazakov
2020-06-22 20:43       ` Simon Wright
2020-06-22 20:59         ` Warren
2020-06-22 21:52           ` Simon Wright
2020-06-22 21:16         ` Dmitry A. Kazakov
2020-06-22 21:27           ` Warren
2020-06-22 21:47           ` Simon Wright
2020-06-22 22:08             ` Jeffrey R. Carter
2020-06-23  9:23 ` Björn Lundin
replies disabled

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