IB2017 has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks
I am creating a binary of my script for macOS using PAR pp (latest version). Is there a way to set the value of -mmacosx-version-min? Reason: pp seems to set it automatically to the OS version used to compile the binary. In this way, however, there are problems when running the same binary on older OS versions. The binary created with pp contains the following info (read with $ otool -l binary):
Load command 9 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.13 sdk 10.13
In some circumstances (for example if the binary is bundled in a .app), macOS will refuse to run the binary if the OS is older than the version indicated here (at least this is what I 've understood with my researches until now). The pp instructions do not seem to mention any option.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR pp macOs set -mmacosx-version-min
by beech (Parson) on Jun 18, 2018 at 20:43 UTC | |
by IB2017 (Pilgrim) on Jun 19, 2018 at 15:01 UTC | |
by beech (Parson) on Jun 19, 2018 at 23:46 UTC | |
by IB2017 (Pilgrim) on Jun 20, 2018 at 10:58 UTC | |
by beech (Parson) on Jun 21, 2018 at 02:35 UTC | |
| |
|
Re: PAR pp macOs set -mmacosx-version-min
by IB2017 (Pilgrim) on Jun 23, 2018 at 14:16 UTC |