xcodebuild necessary on Mac?
David DeHaven
david.dehaven at oracle.com
Fri May 30 02:59:06 UTC 2014
>> I'm curious if only installing the CL tools also installs at least one OS X SDK. If it doesn't then it's not terribly useful, except for maybe porting/building Unix command line tools.
>
> Well, I guess it did. At least jdk9 builds successfully. My new Mavericks is installed on the 2nd disk of my Mac Mini. I guess it shouldn't see the old SDK on the 1st disk. Right?
>
> Where is the SDK located? /System/Library/Frameworks? They are quite some frameworks there.
No, the SDKs are in the app bundles. The frameworks in /System used to have headers installed with the developer tools, but Apple is moving away from that. The frameworks themselves are managed by the OS install/update. Maybe the command line tools still install headers there.
run this:
$ find /Library/Developer/CommandLineTools -name '*.sdk'
I'm curious to see what's there... If the SDKs are there then we should be able to support building OpenJDK with just the command line tools installed.
That won't be the case for closed source though, you still need the full Xcode app installed.
-DrD-
More information about the build-dev
mailing list