comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan.marriott@gmail.com
Subject: Re: Gprbuild - Setting the earliest version of MacOS X that an executable will run on.
Date: Sun, 26 Mar 2017 23:58:37 -0700 (PDT)
Date: 2017-03-26T23:58:37-07:00	[thread overview]
Message-ID: <6f8cefdc-9f22-43ef-97fc-5835d9376bc1@googlegroups.com> (raw)
In-Reply-To: <lyinmvda4a.fsf@pushface.org>

On Sunday, 26 March 2017 23:02:54 UTC+2, Simon Wright  wrote:
> Simon Wright <simon@pushface.org> writes:
> 
> > Looks like a GCC bug to me; nothing in Bugzilla.
> 
> There is now! https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80204

Dear Simon,

Thanks for the investigation and Bugzilla report.
However I don't understand you proposed workaround to the linker.
"-Wl,-macosx_version_min,'sw_vers -productVersion'"
When I try this Gnat says
-macosx_version_min value malformed: 'sw_vers -productVersion'
if I use  
"-Wl,-macosx_version_min,10.12.3"
All is well - at least for Sierra.
Was sw_vers -productVersion san attempt to get the minimum version automatically or did I misunderstand this?
Or did I mistype?
MfG
Ahlan

  reply	other threads:[~2017-03-27  6:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-26 15:10 Gprbuild - Setting the earliest version of MacOS X that an executable will run on ahlan.marriott
2017-03-26 18:01 ` Simon Wright
2017-03-26 21:03   ` Simon Wright
2017-03-27  6:58     ` ahlan.marriott [this message]
2017-03-27  7:26       ` Simon Wright
replies disabled

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