comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: How to supply O/S linker arguments with gprbuild?
Date: Tue, 23 Jun 2020 00:08:06 +0200	[thread overview]
Message-ID: <rcra47$g32$1@dont-email.me> (raw)
In-Reply-To: <ly1rm6hiy3.fsf@pushface.org>

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

  reply	other threads:[~2020-06-22 22:08 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
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 [this message]
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