rui
rui

Reputation: 11284

How to tell whether a dylib is compiled for 10.6 or 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

Upvotes: 1

Views: 95

Answers (1)

Chris Cleeland
Chris Cleeland

Reputation: 4900

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.

Upvotes: 1

Related Questions