开发者

How to tell whether a dylib is compiled for 10.6 or 10.5?

开发者 https://www.devze.com 2022-12-11 09:07 出处:网络
I was trying to use otool but I couldn\'t find a way to do it. Basically I\'d like to know whether a dylib is compiled only 开发者_开发百科for 10.6 or if it supports 10.5.

I was trying to use otool but I couldn't find a way to do it. Basically I'd like to know whether a dylib is compiled only 开发者_开发百科for 10.6 or if it supports 10.5.

Thanks, Rui


I don't have access to a 10.6 machine, but did you try looking at the output of "otool -L"? You may be able to tell by the version of libSystem against which it's linked.

0

精彩评论

暂无评论...
验证码 换一张
取 消