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!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: How to supply O/S linker arguments with gprbuild? Date: Tue, 23 Jun 2020 00:08:06 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <3f234cce-c49f-40a4-83a4-f0c9860d8abfo@googlegroups.com> <98843f83-9907-4bd4-9600-4bc67e41f883o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 22 Jun 2020 22:08:07 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="676df2d3d4e0b6a13c6aa66e07070901"; logging-data="16482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DiM4sMmkvCKY9CuvzPghOQECtyERACQI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cancel-Lock: sha1:UiBkuwZJQbXLg7GG2jWmf9MvEMY= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59172 List-Id: On 6/22/20 11:47 PM, Simon Wright wrote: > > The first page of Gnoga's Makefile has > > ifeq ($(strip $(findstring darwin, $(TARGET))),darwin) > PRJ_TARGET=OSX > else > ifeq ($(strip $(findstring mingw32, $(TARGET))),mingw32) > PRJ_TARGET=Windows > else > etc etc etc Where TARGET is defined as TARGET=$(shell gcc -dumpmachine) -- Jeff Carter "Death awaits you all, with nasty, big, pointy teeth!" Monty Python & the Holy Grail 20