develooper Front page | perl.perl5.porters | Postings from October 2015

Re: [perl #126360] MACOSX_DEPLOYMENT_TARGET

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
October 15, 2015 02:53
Subject:
Re: [perl #126360] MACOSX_DEPLOYMENT_TARGET
Message ID:
CA+vYcVxYk8TF72T9P39Gd0w+2COwrZcE4xbYcL7y15mF5WgFfg@mail.gmail.com
On Wed, Oct 14, 2015 at 5:39 PM, Jarkko Hietaniemi via RT
<perlbug-followup@perl.org> wrote:

> I think as reasonable first step we could just apply Jens' patch.

I like the idea of detecting what the environment can do and deciding
based on that, but I see a potential problem with this particular
approach, assuming I've read the patch at

https://rt.perl.org/Public/Ticket/Attachment/1332434/711615/0002-very-first-step-to-tidy-up-mess-around-sdk-to-use.patch

correctly.

It's doing

$ xcrun --show-sdk-version
10.11

and using the output of that to set the deployment target.

I happen to be on OS X 10.10 but have installed XCode 7.0.1, which has
a base SDK of 10.11.  If I use 10.11 as the deployment target on my
10.10 system, I would not be making binaries I could even run on my
current system would I?  To me the base SDK looks more like the
maximum features you can include and is not really suitable for
selecting the minimum system you want to target.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About