Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
SDK-Based Development
OS X supports SDK-based development. This means that you can compile binaries for old versions of OSOperating System X on new versions of OSOperating System X. Here's an example of how a Makefile might use this feature:
SDK_VER ?= 10.8
SDK_PATH := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$(SDK_VER).sdk
CFLAGS += -isysroot $(SDK_PATH)
LDFLAGS += -syslibroot $(SDK_PATH) -macosx_version_min $(SDK_VER)
Related articles
('contentbylabel' missing)