what does macosx-version-min imply?

前端 未结 4 654
一整个雨季
一整个雨季 2020-12-08 10:05

When I pass compiler flag -mmacosx-version-min=10.5, what does it mean? I think it implies the result binary is x86, not ppc, but is it 32 bits or 64 bits? I\'m

4条回答
  •  青春惊慌失措
    2020-12-08 10:38

    From my testing, it's also important that this option be passed to the link step (like -arch); so it does more than affect macros/preprocessing (as might be inferred from other answers).

    When passed to compile step but not passed to the link step, I found that shared libraries built with 10.6 would not load under 10.5.

提交回复
热议问题