[pcre-dev] [Bug 2769] r1315: apple_update_wx_flags() calls …

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Alte Treads: [pcre-dev] [Bug 2769] New: r1315: apple_update_wx_flags() calls unavailable API when compiling to deploy on older macOS
Betreff: [pcre-dev] [Bug 2769] r1315: apple_update_wx_flags() calls unavailable API when compiling to deploy on older macOS
https://bugs.exim.org/show_bug.cgi?id=2769

--- Comment #12 from Thomas Tempelmann <tempelmann@???> ---
> could you elaborate on why you can't target 11 for Apple Silicon and
> whichever older version you would like to support in Intel?


Are you suggesting that I somehow can tell the configure command that I want to
build a single library that contains both Intel code that supports pre-11 and
ARM code that supports just 11? If that's possible, great. But I can't figure
out how to do that. Can you help?

> the test I reported in comment #4 did that and used `lipo` to generate a
> (AFAIK) working version of a universal binary.


So you created two separate binaries and then merged them with lipo? How did
you do that? I guess, doing that "by hand", you could first configure to build
for Intel only, make, then save the binary, then reconfigure for ARM, and
build, and then merge them with lipo. Quite a pain to do, but if that's how you
did it, then okay - I can probably come up with a build script for that.

> would this patch on top allow you to complete your build, which versions are
> you planning to support and test it on?
>
> https://github.com/carenas/sljit/commit/accdee8ed0331f525d18186fffc4c69c46374fe8


Yes, that looks useable. I need to support macOS 10.11 on Intel and 11 on ARM.

--
You are receiving this mail because:
You are on the CC list for the bug.