From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 22 Jun 2020 11:30:04 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: How to supply O/S linker arguments with gprbuild? Date: Mon, 22 Jun 2020 12:30:05 -0400 Organization: IISS Elusive Unicorn Message-ID: <54m1fflgcv5ejjs5tnlnm8982joqt798rr@4ax.com> References: <3f234cce-c49f-40a4-83a4-f0c9860d8abfo@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ZN1d24gxCOQVzAXqsDmoMMl+j7DuuUZ0s2Hd0sQgbjoO4lVzKdNkiDRmXAgyw75ZPDQmGrYLmm1SDGT!5OsSS1S2hm/zHMxu+Do2yo3CW/XJPm98vwLXPEOrB7/fNSj27T998WknC+6RW5R4mKstG5Qq X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2346 X-Received-Bytes: 2515 X-Received-Body-CRC: 569292735 Xref: reader01.eternal-september.org comp.lang.ada:59162 List-Id: On Mon, 22 Jun 2020 08:51:48 -0700 (PDT), Warren 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/