Adds OSXCROSS_LET_TOOLCHAIN_SET_MIN_VERSION env variable#467
Adds OSXCROSS_LET_TOOLCHAIN_SET_MIN_VERSION env variable#467Raphael-Martin-TS3D wants to merge 1 commit into
Conversation
|
How does conan set the minimum version? The default one can be easily overriden by setting |
|
Conan is using -mmacos-version-min=X.XX indeed. |
No problem then.
OSXCross only supports macOS. A minimalistic iOS toolchain is available here: https://github.com/tpoechtrager/cctools-port/tree/1024.3-ld64-955.13/usage_examples/ios_toolchain |
|
Thank you for your answer. Besides, thank you for the cctools link but cctools is less versatile in terms of target architectures and stuff, we would have to multiply toolchains for the different targets instead of just having one that's able to manage everything. |
|
I guess you meant iOS and not macOS. Simply because having it work properly would require a lot of work. |
|
Indeed I meant iOS my bad.
My team would be glad to support this osxcross project, we like it. |
|
That would great. You could try to patch it on your side and start creating PRs once it's mature enough. :) |
Use case
3rd parties management tools like conan, use conan profiles to define the binaries they create.
These profiles are declarative.
Osxcross clang wrapper is setting -mmacosx-version-min, which overrides conan profiles.
Solution
I am suggesting this solution to let users disengage this variable and let, for instance conan, manage the binaries parameters.