I am using Xcode to build an old code and specify SDKROOT=/Developer/SDKs/MacOSX"${HOST_VERSION}".sdk/
I want to specify SDKROOT for latest SDK that comes pre-installed (?) on the system. e.g. I am on 10.8
already and I want to specify SDKROOT
with -syslibroot, but there is no such SDK in /Developer/SDKs/
. Should i just ignore syslibroot altogether if SDK_VERSION == HOST_VERSION
?
xcode-select --install
proves to be the correct answer. – Gabbie