Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: PAR pp macOs set -mmacosx-version-min

by IB2017 (Pilgrim)
on Jun 19, 2018 at 15:01 UTC ( [id://1216944]=note: print w/replies, xml ) Need Help??


in reply to Re: PAR pp macOs set -mmacosx-version-min
in thread PAR pp macOs set -mmacosx-version-min

Thank you, beech. I need a bit of advice, as I never edited a Makefile before. The package has two Makefile, but I guess the one that needs editing is the one at the first level inside the package (the second being in folder "myldr"). How/Where do I add the variable -mmacosx-version-min=? I appreciate your help

Replies are listed 'Best First'.
Re^3: PAR pp macOs set -mmacosx-version-min
by beech (Parson) on Jun 19, 2018 at 23:46 UTC

      No success so far. Exporting export MACOSX_DEPLOYMENT_TARGET=10.6 does not produce any effect when reinstalling the module cpanm -f PAR::Packer. Reading the environment variables of my open Terminal with:

      foreach (sort keys %ENV) { print "$_ = $ENV{$_}\n"; }

      produces LC_VERSION_MIN_MACOSX  =  10.07 but - after reinstalling the module (I also reinstalled the PAR module, as it must have some influence on the compiler settings), still my binary has

      cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.13 sdk 10.13

      I found the following in the Makefile (inside the main folder and milder)

      LDDLFLAGS = -mmacosx-version-min=10.13 -bundle -undefined dynamic_loo +kup -L/usr/local/lib -fstack-protector-strong LDFLAGS = -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/ +local/lib

      However, changing the value (changed everywhere) and running make -> make test -> make install still generates a binary with the -mmacosx-version-min=10.13 flag. Getting a bit depressed.

        still generates a binary with the -mmacosx-version-min=10.13 flag.

        Hi,

        Did you check with CCFLAGS?

        If that fails try adding to  CC= or  LD= definition

        Did you check on these files (they're what should get installed)?

        otool -l binary blib/script/parl.exe otool -l binary blib/script/parldyn.exe

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1216944]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-25 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found