-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contents of the sdk tarballs #4
Comments
Sure. http://i.imgur.com/HBYU2sw.png The SDK is usually in |
what is the license on the tarballs? are they freely redistributable? |
I imagine the tarballs are subject to Xcode EULA and are not freely distributable. |
from your link " wow. it sounds like the only legit way to do it is to run linux on a VM On Wed, Mar 26, 2014 at 1:11 AM, Aidan Steele notifications@github.comwrote:
|
This is a Noob question, but if the Darling project progresses by leaps and bounds, would it be able to 'replace' the tarballs in osxcross.... somewhat how MingW works with the MXE cross build system? |
No, I don't think so as that project's goal is just to be a loader for compiled binaries. https://github.com/shinh/maloader is a similar (interesting) project. |
I have a related question regarding this. When going through the SDK tree there are in I'm looking into cross building boost (I feel adventurous), but seeing the comments in MacPorts about broken stuff in Apple's code base/binaries makes me wonder how feasable replacing Apple's versions of libraries would be. |
@BioMike: Yes, should be absolutely doable, but you would have to link against static libraries then, otherwise you may end up with ABI incompatibilities (or ship the dylibs with your application). Btw, there is no need to cross-compile boost, you could use
|
FYI — It is theoretically possible to create to re-create "SDKs" via the "Current OS" SDKs (header packages, distributed in Software Updates), with other Software Updates + |
@geoff-codes I'm interested in knowing how you accomplished this. Are those packages you repack into an SDK legally redistributable, and under what license? Personally, I'd love to be able to redistribute packages, or at least have something to point automated build scripts toward that doesn't require hosting potentially infringing artifacts. For instance, I think it'd be great to use osxcross and wclang to make buildbots that can produce binaries targeting all three major platforms. |
I don't think that is legal (or the moral right thing) to do. I assume the "Current OS" also has an EULA, which you agreed to. |
Probably not legally redistributable no, but not hosting potentially infringing artifacts, definitely; all the relevant code, etc. is pulled from publicly available software update servers over unsecured HTTP.
I'll post more details in the next couple of days with regards the process. @BioMike I'd prefer not to get into the nitty-gritty of the legal argument here... what I will say is that while one arguably is bound to this EULA (±the standard Apple consumer EULA), it is significantly less stringent than the language in the Xcode/ADC EULA (see sections 2.2 and 2.5), which probably "applies" to the presently used methods of extracting SDKs. |
I have tried a similar approach a while ago. I have created C stub source files, which can be compiled to .dylibs, which then can be used to re-create the SDK in combination with the header files from opensource.apple.com. For example: http://git.io/vLpoP represents libc++. But I threw it away rather quickly because the SDK doesn't make a lot of sense without all the proprietary stuff (frameworks, ...). |
Wouldn't worry too much regarding the legality of distributing Apple's SDK. Mac OS X well and truly violates the BSD4.4 license agreement of which its entire codebase was developed from. You cannot take something that is open-source, with very specific conditions for redistribution and relicense it as proprietary software (with open source 'portions', give me a break). Corporate thieves. |
Many thanks for supplying the links, but, with my internet being as slow as it is, I'd rather not download something I more than likely already have; I have in my posession a tarball of the contents of the Xcode.app, obtained from my hackintosh install; would you be able to provide a list of the contents of the 10.9 sdk tarball (not en-totale, just a generic overview) to that effect?
The text was updated successfully, but these errors were encountered: